Exemplo n.º 1
0
 public BookReturnServiceTests()
 {
     _userRepositoryMock            = new Mock <IUserRepository>();
     _bookRepositoryMock            = new Mock <IBookRepository>();
     _unitOfWorkMock                = new Mock <IUnitOfWork>();
     _inMemoryLibraryContextFactory = new InMemoryLibraryContextFactory();
 }
Exemplo n.º 2
0
 public UserAggregateTests()
 {
     _libraryContextFactory = new InMemoryLibraryContextFactory();
 }
Exemplo n.º 3
0
 public BookLoanServiceTests()
 {
     _userRepositoryMock            = new Mock <IUserRepository>();
     _bookRepositoryMock            = new Mock <IBookRepository>();
     _inMemoryLibraryContextFactory = new InMemoryLibraryContextFactory();
 }
 public GetReaderDetailsQueryHandlerTests()
 {
     _mapper = new UserMapper();
     _libraryContextFactory = new InMemoryLibraryContextFactory();
     _libraryContext        = _libraryContextFactory.Create();
 }
Exemplo n.º 5
0
 public GetBookListQueryHandlerTests()
 {
     _mapper = new BookListMapper();
     _libraryContextFactory = new InMemoryLibraryContextFactory();
     _libraryContext        = _libraryContextFactory.Create();
 }