public static Read read() {
    return new Read(null, "", new Scan());
  }
@Test
  public void testReadingFailsTableDoesNotExist() {
    final String table = tmpTable.getName();
    // Exception will be thrown by read.expand() when read is applied.
    thrown.expect(IllegalArgumentException.class);
    thrown.expectMessage(String.format("Table %s does not exist", table));
    runReadTest(
        HBaseIO.read().withConfiguration(conf).withTableId(table), false, new ArrayList<>());
    runReadTest(HBaseIO.read().withConfiguration(conf).withTableId(table), true, new ArrayList<>());
  }