MCPcopy Create free account
hub / github.com/OpenTSDB/asynchbase / beforeLocal

Method beforeLocal

test/TestRegionClientSendRpc.java:64–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62 private static final byte[] VALUE = new byte[] { 42 };
63
64 @Before
65 public void beforeLocal() throws Exception {
66 when(hbase_client.getDefaultRpcTimeout()).thenReturn(60000);
67 PowerMockito.mockStatic(Channels.class);
68 timer.stop();
69 }
70
71 @Test (expected = NullPointerException.class)
72 public void nullRpc() throws Exception {

Callers

nothing calls this directly

Calls 2

getDefaultRpcTimeoutMethod · 0.80
stopMethod · 0.45

Tested by

no test coverage detected