TestProtocolCodecSetSerializer tests SetSerializer method of ProtocolCodec
(t *testing.T)
| 149 | |
| 150 | // TestProtocolCodecSetSerializer tests SetSerializer method of ProtocolCodec |
| 151 | func TestProtocolCodecSetSerializer(t *testing.T) { |
| 152 | codec := NewDubboCodec(nil) |
| 153 | serializer := &HessianSerializer{} |
| 154 | |
| 155 | codec.SetSerializer(serializer) |
| 156 | assert.NotNil(t, codec.serializer) |
| 157 | } |
| 158 | |
| 159 | // TestPackageResponseWorkflow tests response package workflow |
| 160 | func TestPackageResponseWorkflow(t *testing.T) { |
nothing calls this directly
no test coverage detected