Test put with KeyValue pair input @throws Exception
()
| 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. // |
nothing calls this directly
no test coverage detected