assertEquals("purchases:foo", purchases.getQualifierAsString());
}
@Test
public void testTranslateFromHBaseToKiji() throws Exception {
KijiColumnName infoName =
mTranslator.toKijiColumnName(getHBaseColumnName("default", "info:name"));
assertEquals("info:name", infoName.toString());
KijiColumnName infoEmail =
mTranslator.toKijiColumnName(getHBaseColumnName("default", "info:email"));
assertEquals("info:email", infoEmail.toString());
KijiColumnName recommendationsProduct = mTranslator.toKijiColumnName(
getHBaseColumnName("inMemory", "recommendations:product"));
assertEquals("recommendations:product", recommendationsProduct.toString());
KijiColumnName purchases =
mTranslator.toKijiColumnName(getHBaseColumnName("inMemory", "purchases:foo"));
assertEquals("purchases:foo", purchases.toString());
}