public void Supplier_EditSupplier_ContextChanged() { context.Insert(GetMockSupplier()); Supplier test = new Supplier { Id = 1, Name = "Mock", Phone = "555-555-5555", Address = "555 Someplace", City = "Milan", State = "Michingan", Zipcode = "48168" }; var result = supplierController.Edit(test); Assert.AreNotEqual(context.GetByID(0).City, test.City); }