public void SaveProductTest() { // Arrange - create a repository EFProductRepository target = new EFProductRepository(); // Act - change the category of the first product Product prod = target.Products.First(); prod.Category = "Test"; target.SaveProduct(prod); }