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