public void DataRepositoryEditClientTest() { repository.EditClient(new Data.Client(1, "Bartlomiej", "Wlodarczyk", 21)); Assert.AreEqual(1, repository.GetClient(1).Id); Assert.AreEqual("Bartlomiej", repository.GetClient(1).Name); Assert.AreEqual("Wlodarczyk", repository.GetClient(1).Surname); Assert.AreEqual(21, repository.GetClient(1).Age); }
public void EditClient(Data.Client client) { repository.EditClient(client); }