public PersonServiceTests() { _personRepository = Substitute.For <IPersonRepository>(); _eventRoomRepository = Substitute.For <IEventRoomRepository>(); _coffeePlaceRepository = Substitute.For <ICoffeePlaceRepository>(); _personService = new PersonService(_personRepository, _eventRoomRepository, _coffeePlaceRepository); }
public PersonService( IPersonRepository personRepository, IEventRoomRepository eventRoomRepository, ICoffeePlaceRepository coffeePlaceRepository) { _personRepository = personRepository; _eventRoomRepository = eventRoomRepository; _coffeePlaceRepository = coffeePlaceRepository; }
public CoffeePlaceServiceTests() { _coffeePlaceRepository = Substitute.For <ICoffeePlaceRepository>(); _coffeePlaceService = new CoffeePlaceService(_coffeePlaceRepository); }
public CoffeePlaceService( ICoffeePlaceRepository coffeePlaceRepository) { _coffeePlaceRepository = coffeePlaceRepository; }