()
| 60 | } |
| 61 | |
| 62 | @Test |
| 63 | public void ctorSimple() throws Exception { |
| 64 | config.overrideConfig(SimpleClientAuthProvider.USERNAME_KEY, "Drumknott"); |
| 65 | final UTHelper helper = new UTHelper(client, region_client, remote_endpoint); |
| 66 | assertTrue(helper.getProvider() instanceof SimpleClientAuthProvider); |
| 67 | assertFalse(helper.useWrap()); |
| 68 | assertEquals("127.0.0.1", helper.getHostIP()); |
| 69 | assertNull(helper.getSaslClient()); |
| 70 | } |
| 71 | |
| 72 | @Test (expected = IllegalStateException.class) |
| 73 | public void ctorUnknownImplementation() throws Exception { |
nothing calls this directly
no test coverage detected