private void assertCurrentBet(int expectedPlayerCurrentBet, Player player) {
   int actualPlayerCurrentBet = tableFacade.getCurrentStepBet(player);
   String message =
       format(
           "Player %s current bet - expected  : %s, actual : %s",
           player.getNickname(), expectedPlayerCurrentBet, actualPlayerCurrentBet);
   assertEquals(message, expectedPlayerCurrentBet, actualPlayerCurrentBet);
 }
Ejemplo n.º 2
0
 public FoldEvent(Player player) {
   this.player = player.clone();
 }
Ejemplo n.º 3
0
 @Override
 public String getDescription() {
   return String.format("FoldEvent(%s)", player.getNickname());
 }