public LibraryService(IBookRepository bookRepository, IBookValidator bookValidator, IPersonRepository personRepository, IPersonValidator personValidator) { _bookRepository = bookRepository; _bookValidator = bookValidator; _personRepository = personRepository; _personValidator = personValidator; }
public void Setup() { _booksValidatorFake = A.Fake <IBookValidator>(); _booksMapperFake = A.Fake <IBookMapper>(); _booksParser = new SimpleBookParser(_booksValidatorFake, _booksMapperFake); }
public BookLogic(IBookDAO bookDAO, IBookValidator bookValidator, ILogger logger) { this.logger = logger; this.bookDAO = bookDAO; this.bookValidator = bookValidator; }
public BookService(IBookRepository bookRepository, IBookValidator bookValidator) { _bookRepository = bookRepository; _bookValidator = bookValidator; }
public void Setup() { _loggerFake = A.Fake <ILogger>(); _bookValidator = new SimpleBookValidator(_loggerFake); }
public BookService(IMapper map, IBookValidator validator, IBookRepository repo) { mapper = map; bookValidator = validator; repository = repo; }
public SimpleBookParser(IBookValidator bookValidator, IBookMapper bookMapper) { _bookValidator = bookValidator; _bookMapper = bookMapper; }
public void Initialise() { this.vld = new BookValidator(); }