@Test
public void testCreateGetFromScan() {

  Scan scan = new Scan(ANOTHER_ROW, ROW);
  scan.addColumn(FAMILY, QUALIFIER).addColumn(ANOTHER_FAMILY, ANOTHER_QUALIFIER);
  Get get = ThemisScanner.createGetFromScan(scan, ROW);
  Assert.assertArrayEquals(ROW, get.getRow());
  Assert.assertEquals(2, get.getFamilyMap().size());
  Assert.assertEquals(1, get.getFamilyMap().get(FAMILY).size());
  Assert.assertArrayEquals(QUALIFIER, get.getFamilyMap().get(FAMILY).iterator().next());
  Assert.assertEquals(1, get.getFamilyMap().get(ANOTHER_FAMILY).size());
  Assert.assertArrayEquals(ANOTHER_QUALIFIER,
    get.getFamilyMap().get(ANOTHER_FAMILY).iterator().next());
}