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