Ejemplo n.º 1
0
  @Test
  public void testFindWithUsername() throws Exception {
    Optional<Player> player = sut.findWithUsername(BasicScenario.Player1.PLAYER.getUsername());

    assertThat(player.isPresent(), is(true));
    assertThat(player.get(), is(BasicScenario.Player1.PLAYER));
  }