public synchronized void write(String tableName, RowToInsert row)
      throws BigQueryResourceManagerException {
    write(tableName, ImmutableList.of(row));
  }
@Test
  public void testWriteShouldThrowErrorWhenDatasetDoesNotExist() {
    assertThrows(IllegalStateException.class, () -> testManager.write(TABLE_NAME, rowToInsert));
    assertThrows(
        IllegalStateException.class,
        () -> testManager.write(TABLE_NAME, ImmutableList.of(rowToInsert)));
  }