public void DataRepositoryGetClientTest() { repository.AddClient(new Data.Client(4, "Marek", "Mostowiak", 45)); Assert.AreEqual(4, repository.GetClient(4).Id); Assert.AreEqual("Marek", repository.GetClient(4).Name); Assert.AreEqual("Mostowiak", repository.GetClient(4).Surname); Assert.AreEqual(45, repository.GetClient(4).Age); }
public Data.Client GetClient(int num) { return(repository.GetClient(num)); }