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); }
public FoldEvent(Player player) { this.player = player.clone(); }
@Override public String getDescription() { return String.format("FoldEvent(%s)", player.getNickname()); }