public void Setup()
 {
     fixture   = new AggregateFixture(Guid.NewGuid().ToString());
     viewingId = new ViewingId(Guid.NewGuid().ToString(), fixture.dateOfViewing, fixture.cinemaId);
     fixture.AddViewingAndSeatCreationEvents(viewingId, Capacity);
     for (ushort u = 0; u < Capacity; u++)
     {
         fixture.AddSeatReservationEvent(viewingId, u);
     }
 }
Example #2
0
 public void Setup()
 {
     fixture   = new AggregateFixture(Guid.NewGuid().ToString());
     viewingId = new ViewingId(Guid.NewGuid().ToString(), fixture.dateOfViewing, fixture.cinemaId);
     fixture.AddViewingAndSeatCreationEvents(viewingId, Capacity);
 }