Skip to content

Commit

Permalink
Used an instance of TestingTicketDispenser in test GIVEN_dispense_tic…
Browse files Browse the repository at this point in the history
…ket_number_10_WHEN_dispense_a_new_ticket_THEN_the_new_ticket_is_number_11().
  • Loading branch information
wubin28 committed Apr 18, 2014
1 parent 2a591d9 commit 8bea33a
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -29,6 +29,8 @@ public void GIVEN_dispense_a_ticket_WHEN_dispense_a_new_ticket_at_another_machin
[Test]
public void GIVEN_dispense_ticket_number_10_WHEN_dispense_a_new_ticket_THEN_the_new_ticket_is_number_11()
{
TestingTicketDispenser testingTicketDispenser = new TestingTicketDispenser();
TurnTicket ticket = testingTicketDispenser.GetTurnTicket();
Assert.AreEqual(11, ticket.TurnNumber);
}
}
Expand Down

0 comments on commit 8bea33a

Please sign in to comment.