### Question:
JooqPlayerDAO extends AbstractJooqDAO implements PlayerDAO { @Override public void insert(Player player) { Preconditions.checkNotNull(player, "player"); LOGGER.debug("Inserting player {}", player); context().insertInto(PLAYER, PLAYER.ID, PLAYER.USERNAME, PLAYER.PASSWORD) .values(player.getId(), player.getUsername(), player.getPassword()) .execute(); } @Inject  JooqPlayerDAO(UnitOfWorkService unitOfWorkService); @Override void insert(Player player); @Override List<Player> findAll(); @Override Optional<Player> findWithUsername(String username);  }### Answer:
@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); }