private static ReservationController ReservationController() { var factoryMock = new MockReservationServiceFactory(); var partitionManager = new MockPartitionManager(); var controller = new ReservationController(factoryMock, partitionManager); return(controller); }
private static ShowController ShowController() { var factoryMock = new MockShowServiceFactory(); var partitionManager = new MockPartitionManager(); var reservationFactoryMock = new MockReservationServiceFactory(); var controller = new ShowController(factoryMock, partitionManager, reservationFactoryMock); return(controller); }