@Test public void shouldSetTurnOnCoinTossO(){ when(coinTossHelper.coinToss()).thenReturn(GameSymbol.O); Button button = Mockito.mock(Button.class); activity.coinToss(button); verify(toeGame).setTurn(eq(GameSymbol.O)); }
public void coinToss(View view){ setWhoGoesFirst(coinTossHelper.coinToss()); }
MainActivity extends RoboActivity { public void coinToss(View view){ setWhoGoesFirst(coinTossHelper.coinToss()); } }
MainActivity extends RoboActivity { public void coinToss(View view){ setWhoGoesFirst(coinTossHelper.coinToss()); }  }
MainActivity extends RoboActivity { public void coinToss(View view){ setWhoGoesFirst(coinTossHelper.coinToss()); }  void setNumberOfPlayers(View view); void coinToss(View view); void newGame(View view); }
MainActivity extends RoboActivity { public void coinToss(View view){ setWhoGoesFirst(coinTossHelper.coinToss()); }  void setNumberOfPlayers(View view); void coinToss(View view); void newGame(View view);  }