예제 #1
0
 public HorseService(
     ICaulfieldRepository caulfieldRepository,
     IWolferhamptonRepository wolferhamptonRepository,
     ILogger logger
     )
 {
     _caulfieldRepository     = caulfieldRepository;
     _wolferhamptonRepository = wolferhamptonRepository;
     _logger = logger;
 }
예제 #2
0
 public HorseServiceTests()
 {
     _mockCaulfieldRepository     = Substitute.For <ICaulfieldRepository>();
     _mockWolferhamptonRepository = Substitute.For <IWolferhamptonRepository>();
 }