public LibraryCardControllerTests() { autoMapperConfiguration = new AutoMapperConfiguration(); autoMapperConfiguration.Configure(); fixture = new Fixture().Customize(new AutoFixtureCustomization()); mocks = new MockRepository(); libraryCardRepositoryMock = mocks.DynamicMock<ILibraryCardRepository>(); controller = new LibraryCardController(libraryCardRepositoryMock); }
public LibraryCardRepositoryTests() { repository = new LibraryCardRepository(UnitOfWork); fixture = new Fixture().Customize(new AutoFixtureCustomization()); }
public LibraryCardController(ILibraryCardRepository libraryCardRepository) { this.libraryCardRepository = libraryCardRepository; }