@Test(expected = IllegalArgumentException.class)
public void qnameToKeyTest() throws Exception {
final RpcService rpcService = mock(RpcService.class);
- QNameRpcServiceInvoker.instanceFor(ImmutableMap.of()).invokeRpc(rpcService, QName.create("test"), null);
+ QNameRpcServiceInvoker.instanceFor(ImmutableMap.of()).invokeRpc(rpcService, QName.create("", "test"), null);
fail("Expected exception: constructed with empty map");
}
}
\ No newline at end of file