(method string, req interface{}, resp interface{})
| 222 | } |
| 223 | |
| 224 | func (c *fakeCaller) Call(method string, req interface{}, resp interface{}) (err error) { |
| 225 | s, err := c.s.OpenStream() |
| 226 | client := rpc.NewClientWithCodec(utils.GetMsgPackClientCodec(s)) |
| 227 | defer client.Close() |
| 228 | |
| 229 | return client.Call(method, req, resp) |
| 230 | } |
| 231 | |
| 232 | func TestRuntime(t *testing.T) { |
| 233 | Convey("runtime test", t, func(c C) { |
nothing calls this directly
no test coverage detected