34.3. Time-Related Object InteractionsFigure 34.2 shows the interaction of the fixtures with the system under test and the MockClock. When the StartApplication object is created, it creates an object of class RentEz, passing to it a MockClock. The system under test subsequently uses that clock for the time, which is updated by time is now actions. Figure 34.2. Using a Mock Clock
|