Exemplo n.º 1
0
        public UserServiceTests()
        {
            AutoMapperInitializer.Initialize();

            this.databaseMock = BookHeavenDbContextInMemory.New();
            this.sut          = new UserService(this.databaseMock, null, null);
        }
Exemplo n.º 2
0
        public BookServiceTests()
        {
            AutoMapperInitializer.Initialize();

            this.databaseMock   = BookHeavenDbContextInMemory.New();
            this.fileServicMock = new Mock <IFileService>();
            this.sut            = new BookService(this.databaseMock, this.fileServicMock.Object);
        }