コード例 #1
0
 public RoutesController(IRoutesConsumerService consumerService, IRoutesAdminService adminService)
 {
     this.routesConsumerService = consumerService;
     this.routesAdminService    = adminService;
 }
コード例 #2
0
 public void SetupBeforeEachTest()
 {
     this.routesRepository   = Substitute.For <IRoutesRepository>();
     this.routesAdminService = new RoutesAdminService(this.routesRepository);
 }
コード例 #3
0
 public void SetupBeforeEachTest()
 {
     this.routesConsumerService = Substitute.For <IRoutesConsumerService>();
     this.routesAdminService    = Substitute.For <IRoutesAdminService>();
     this.routesController      = new RoutesController(this.routesConsumerService, this.routesAdminService);
 }