@Test
public void testGetNotification() throws Exception {

    final Map<byte[], byte[]> tsMap = new TreeMap<>(new Bytes.ByteArrayComparator());
    tsMap.put("1444042473518".getBytes(), "1".getBytes());
    new Expectations() {
        {
            mockResult.getRow(); times = 1;
            result = "rowid".getBytes(CHARSET);
            mockResult.getValue("s".getBytes(), "qs".getBytes()); times = 1;
            result = "DELIVERED".getBytes();
            mockResult.getFamilyMap("ts".getBytes()); times = 1;
            result = tsMap;
        }
    };
    Notification notification = notificationStore.getNotification("n123");
    //System.out.println(notification);
    assertEquals("rowid", notification.getId());
    assertEquals(Notification.Status.DELIVERED, notification.getStatus());
    assertEquals(1444042473518L, notification.getTs());
    new Verifications() {
        {
            Get get;
            mockHTable.get(get = withCapture()); times = 1;
            //System.out.println("get = " + get);
        }
    };
}