@Test
public void testRequiresRealTable() throws IOException {

  final KijiURI tableURI =
      KijiURI.newBuilder(getKiji().getURI().toString() + "/table_name_not_real").build();
  try {
    // The specified table must exist in the Kiji instance.
    KijiTableKeyValueStore<String> input = KijiTableKeyValueStore.builder()
      .withTable(tableURI)
      .withColumn("some", "column")
      .withMinTimestamp(42)
      .withMaxTimestamp(512)
      .withCacheLimit(2121)
      .build();
    fail("Should have thrown an IllegalArgumentException.");
  } catch (IllegalArgumentException iae) {
    assertEquals("Could not open table: " + tableURI, iae.getMessage());
  }
}