public void Setup() { _testProduct = TestCommon.TestProduct1; TestDbContext.ClearData(); _viewMock = new ProductPageMock(); _presenter = new ProductPresenter(_viewMock, TestDbContext.Instance); }
public void Setup() { TestDbContext.ClearData(); _dbContext = TestDbContext.Instance; CreateTestData(); _viewMock = new ProductsPageMock(); _presenter = new ProductsPresenter(_viewMock, _dbContext); }
public void Setup() { _testOrder2 = TestCommon.TestOrder2; TestDbContext.ClearData(); StoreTestProducts(); StoreTestOrder(); _viewMock = new OrderViewMock(); _presenter = new OrderPresenter(_viewMock, TestDbContext.Instance); }
public void Setup() { _testDbContext = TestDbContext.Instance; _testProduct = TestCommon.TestProduct1; TestDbContext.ClearData(); }