Tests simple put that uses the current timestamp @throws Exception
()
| 69 | * @throws Exception |
| 70 | */ |
| 71 | @Test |
| 72 | public void simplePut() throws Exception { |
| 73 | final PutRequest put = new PutRequest(TABLE,KEY, FAMILY, QUALIFIER, VALUE); |
| 74 | stubbing(put); |
| 75 | client.put(put); |
| 76 | Mockito.verify(client).sendRpcToRegion(put); |
| 77 | Mockito.verify(regionclient).sendRpc(put); |
| 78 | assertTrue(sendPut); |
| 79 | assertEquals(1, num_puts.get()); |
| 80 | } |
| 81 | |
| 82 | /** |
| 83 | * Test put request with specific timestamp |
nothing calls this directly
no test coverage detected