public DeckService ( IDeckRepository deckRepository, ICardRepository cardRepository, IDeckTypeRepository deckTypeRepository, IDeckCardRepository deckCardRepository, IDeckFileSystem deckFileSystem) { _deckRepository = deckRepository; _cardRepository = cardRepository; _deckTypeRepository = deckTypeRepository; _deckCardRepository = deckCardRepository; _deckFileSystem = deckFileSystem; }
public void SetUp() { _deckRepository = Substitute.For <IDeckRepository>(); _cardRepository = Substitute.For <ICardRepository>(); _deckTypeRepository = Substitute.For <IDeckTypeRepository>(); var deckCardRepository = Substitute.For <IDeckCardRepository>(); var deckFileSystem = Substitute.For <IDeckFileSystem>(); _sut = new DeckService ( _deckRepository, _cardRepository, _deckTypeRepository, deckCardRepository, deckFileSystem ); }
public void SetUp() { _deckTypeRepository = Substitute.For<IDeckTypeRepository>(); _sut = new DeckTypeService(_deckTypeRepository); }
public DeckTypeService(IDeckTypeRepository deckTypeRepository) { _deckTypeRepository = deckTypeRepository; }