@Test
  public void testInsert() throws Exception {
    Player player =
        new Player(UUID.fromString("66aaab40-a72f-11e4-bcd8-0800200c9a66"), "username", "password");
    sut.insert(player);

    List<Map<String, Object>> resultSet =
        select("SELECT * FROM player WHERE id = ?", player.getId());

    assertThat(resultSet, hasSize(1));
    verifyRow(resultSet.get(0), player);
  }
 private void verifyRow(Map<String, Object> row, Player player) {
   assertThat(row.get("id"), is(player.getId()));
   assertThat(row.get("username"), is(player.getUsername()));
   assertThat(row.get("password"), is(player.getPassword()));
 }