public UserServiceTests() { AutoMapperInitializer.Initialize(); this.databaseMock = BookHeavenDbContextInMemory.New(); this.sut = new UserService(this.databaseMock, null, null); }
public BookServiceTests() { AutoMapperInitializer.Initialize(); this.databaseMock = BookHeavenDbContextInMemory.New(); this.fileServicMock = new Mock <IFileService>(); this.sut = new BookService(this.databaseMock, this.fileServicMock.Object); }