public NewsItemContainerTests() { repo = new InMemRepository(); container = new NewsItemContainer(repo.CreateNewsItemContainerDAL(), repo.CreateNewsItemDAL()); newsItem = new NewsItem("Special deal", repo.CreateNewsItemDAL()); }
public NewsItemContainerTests() { container = new NewsItemContainer(TestFactory.CreateTestNewsItemContainerDAL()); newsItem = new NewsItem("Special deal", TestFactory.CreateTestNewsItemDAL()); }