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

Method putKV

test/TestPutRequest.java:182–191  ·  view source on GitHub ↗

Test put with KeyValue pair input @throws Exception

()

Source from the content-addressed store, hash-verified

180 * @throws Exception
181 */
182 @Test
183 public void putKV() throws Exception{
184 final PutRequest put = new PutRequest(TABLE, KV);
185 stubbing(put);
186 client.put(put);
187 Mockito.verify(client).sendRpcToRegion(put);
188 Mockito.verify(regionclient).sendRpc(put);
189 assertTrue(sendPut);
190 assertEquals(1, num_puts.get());
191 }
192
193 // ----------------- //
194 // Helper functions. //

Callers

nothing calls this directly

Calls 5

stubbingMethod · 0.95
putMethod · 0.80
sendRpcToRegionMethod · 0.80
sendRpcMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected