Esempio n. 1
0
 public ProductControllerTests(ProductFixture productFixture, ProductRepositoryFixture productRepositoryFixture, ProductCategoryRepositoryFixture productCategoryRepositoryFixture)
 {
     _repository = productRepositoryFixture.Repository;
     _productCategoryRepository = productCategoryRepositoryFixture.Repository;
     _logger         = new StubLogger <ProductsController>();
     _categoryLogger = new StubLogger <ProductCategoriesController>();
 }
 public ProductRepositoryTest()
 {
     // Arrange
     _fixture = new ProductRepositoryFixture();
 }
 public GetAllMethodShould(ProductRepositoryFixture fixture)
 {
     _fixture = fixture;
 }