}
}
@Test
public void testGetFromTableMore() throws Exception {
final Kiji kiji = getKiji();
final KijiTableLayout layout = KijiTableLayouts.getTableLayout(KijiTableLayouts.FOO_TEST);
final long timestamp = 10L;
new InstanceBuilder(kiji)
.withTable(layout.getName(), layout)
.withRow("gwu@usermail.example.com")
.withFamily("info")
.withQualifier("email").withValue(timestamp, "gwu@usermail.example.com")
.withQualifier("name").withValue(timestamp, "Garrett Wu")
.withRow("aaron@usermail.example.com")
.withFamily("info")
.withQualifier("email").withValue(timestamp, "aaron@usermail.example.com")
.withQualifier("name").withValue(timestamp, "Aaron Kimball")
.withRow("christophe@usermail.example.com")
.withFamily("info")
.withQualifier("email")
.withValue(timestamp, "christophe@usermail.example.com")
.withQualifier("name").withValue(timestamp, "Christophe Bisciglia")
.withRow("kiyan@usermail.example.com")
.withFamily("info")
.withQualifier("email").withValue(timestamp, "kiyan@usermail.example.com")
.withQualifier("name").withValue(timestamp, "Kiyan Ahmadizadeh")
.withRow("john.doe@gmail.com")
.withFamily("info")
.withQualifier("email").withValue(timestamp, "john.doe@gmail.com")
.withQualifier("name").withValue(timestamp, "John Doe")
.withRow("jane.doe@gmail.com")
.withFamily("info")
.withQualifier("email").withValue(timestamp, "jane.doe@gmail.com")
.withQualifier("name").withValue(timestamp, "Jane Doe")
.build();
final KijiTable table = kiji.openTable(layout.getName());
try {
assertEquals(BaseTool.SUCCESS, runTool(new GetTool(), table.getURI().toString(),
"--entity-id=[\"jane.doe@gmail.com\"]"));
assertEquals(5, mToolOutputLines.length);
EntityId eid = EntityIdFactory.getFactory(layout).getEntityId("gwu@usermail.example.com");