public RoutesController(IRoutesConsumerService consumerService, IRoutesAdminService adminService) { this.routesConsumerService = consumerService; this.routesAdminService = adminService; }
public void SetupBeforeEachTest() { this.routesRepository = Substitute.For <IRoutesRepository>(); this.routesAdminService = new RoutesAdminService(this.routesRepository); }
public void SetupBeforeEachTest() { this.routesConsumerService = Substitute.For <IRoutesConsumerService>(); this.routesAdminService = Substitute.For <IRoutesAdminService>(); this.routesController = new RoutesController(this.routesConsumerService, this.routesAdminService); }