(t *testing.T)
| 432 | } |
| 433 | |
| 434 | func TestRPCInvocation_WithInvoker(t *testing.T) { |
| 435 | url, err := common.NewURL("dubbo://127.0.0.1:20000/test") |
| 436 | require.NoError(t, err) |
| 437 | mockInvoker := &mockInvoker{url: url} |
| 438 | |
| 439 | invocation := NewRPCInvocationWithOptions(WithInvoker(mockInvoker)) |
| 440 | assert.NotNil(t, invocation.Invoker()) |
| 441 | assert.Equal(t, mockInvoker, invocation.Invoker()) |
| 442 | } |
| 443 | |
| 444 | func TestRPCInvocation_WithParameterTypeNames_EmptySlice(t *testing.T) { |
| 445 | // Test with empty slice |
nothing calls this directly
no test coverage detected