public void EditOrder() { string mode = "Mock"; var repo = new OrderMockModeRepo(); var newOrder = repo.GetOne(2, "06012013"); newOrder.CustomerName = "Smith"; repo.Edit(newOrder, "06012013"); var results = repo.GetOne(2, "06012013"); Assert.AreEqual(results.CustomerName, "Smith"); }