private void Play(int ballsToPlayer1, int ballsToPlayer2, string expectedScore) { tennis = new TennisGame_Dirty(); for (int i = 0; i < ballsToPlayer1; i++) { tennis.Player1WinsTheBall(); } for (int i = 0; i < ballsToPlayer2; i++) { tennis.Player2WinsTheBall(); } Assert.Equal(expectedScore, tennis.PrintScore()); }