public void getNameWithErrorDuringHBaseLookup() {
uid = new UniqueId(client, table, kind, 3);
final byte[] id = { 0, 'a', 0x42 };
final byte[] byte_name = { 'f', 'o', 'o' };
HBaseException hbe = mock(HBaseException.class);
ArrayList<KeyValue> kvs = new ArrayList<KeyValue>(1);
kvs.add(new KeyValue(id, ID, kind_array, byte_name));
when(client.get(anyGet()))
.thenThrow(hbe)