Added 3 acceptance test TODOs.
Working on TODO: a new ticket should have the turn number subsequent to the previous ticket. Wrote an assertion.
Made test a_new_ticket_should_have_the_turn_number_subsequent_to_the_previous_ticket() to pass.
Working on TODO: a new ticket should have the turn number subsequent to the previous ticket from another dispenser. Wrote an assertion.
Made test a_new_ticket_should_have_the_turn_number_subsequent_to_the_previous_ticket_from_another_dispenser() to pass.
Working on TODO: after ticket 10 come ticket 11. Wrote an assertion.
Wrote intention code for Arrange and Act parts of test after_ticket_10_come_ticket_11().
Created class TestingTurnNumberSequence and made it to be the subclass of TurnNumberSequence.
Created and implemented method TestingTurnNumberSequence.setCurrentTurnNumber().
Created constructor TicketDispenser(TestingTurnNumberSequence).
Created constructor TicketDispenser().
Finished TODO: Depending on a static method violates the Dependency Inversion Principle and Open-Closed Principle. Finished TODO: after ticket 10 come ticket 11.
Working on TODO: the turn number sequence of the vip customers starts from 1001. Wrote an assertion.
Wrote intention code for the Act and Arrange parts of the test the_turn_number_sequence_of_the_vip_customers_starts_from_1001().
Created class VipCustomerTurnNumberSequence and made it to be the subclass of TurnNumberSequence.
Created and implemented method VipCustomerTurnNumberSequence.setInitialTurnNumber().
Created constructor TicketDispenser(VipCustomerTurnNumberSequence).
Removed the duplicate constructors of class TicketDispenser.
Finished TODO: the turn number sequence of the vip customers starts from 1001.
Working on TODO: the turn number sequence of the regular customers starts from 2001. Wrote intention code for Assert, Act and Arrange parts of the test the_turn_number_sequence_of_the_regular_customers_starts_from_2001().