func TestWireMessage(t *testing.T) { … } func newNotification(method string, params interface{ … } func newID(id interface{ … } func newCall(id interface{ … } func newResponse(id interface{ … } func checkJSON(t *testing.T, got, want []byte) { … }
func TestWireMessage(t *testing.T) { … } func newNotification(method string, params interface{ … } func newID(id interface{ … } func newCall(id interface{ … } func newResponse(id interface{ … } func checkJSON(t *testing.T, got, want []byte) { … }