()
| 57 | } |
| 58 | |
| 59 | @Test (expected = IllegalArgumentException.class) |
| 60 | public void initializeMissingHost() throws Exception { |
| 61 | when(config.hasProperty("tsd.rpcplugin.DummyRPCPlugin.hosts")) |
| 62 | .thenReturn(false); |
| 63 | rpc_plugin.initialize(tsdb); |
| 64 | } |
| 65 | |
| 66 | public void initializeEmptyHost() throws Exception { |
| 67 | when(config.getString("tsd.rpcplugin.DummyRPCPlugin.hosts")) |
nothing calls this directly
no test coverage detected