@Test
public void testUpdateTable() throws Exception {

  String tableName = getFreeTableName();
  createMyTable(tableName);
  DBAccessorImpl dbAccessor = injector.getInstance(DBAccessorImpl.class);
  dbAccessor.updateTable(tableName, "name", "blah", "where id = 1");
  Statement statement = dbAccessor.getConnection().createStatement();
  ResultSet resultSet = statement.executeQuery("select name from " + tableName);
  while (resultSet.next()) {
    assertEquals(resultSet.getString("name"), "blah");
  }
  resultSet.close();
}