Test put with strings instead of bytes. @throws Exception
()
| 164 | * @throws Exception |
| 165 | */ |
| 166 | @Test |
| 167 | public void putStrings() throws Exception { |
| 168 | final PutRequest put = new PutRequest(new String(TABLE), new String(KEY), |
| 169 | new String(FAMILY), new String(QUALIFIER), new String(VALUE)); |
| 170 | stubbing(put); |
| 171 | client.put(put); |
| 172 | Mockito.verify(client).sendRpcToRegion(put); |
| 173 | Mockito.verify(regionclient).sendRpc(put); |
| 174 | assertTrue(sendPut); |
| 175 | assertEquals(1, num_puts.get()); |
| 176 | } |
| 177 | |
| 178 | /** |
| 179 | * Test put with KeyValue pair input |
nothing calls this directly
no test coverage detected