public void Test_IfCanFindByID_True() { Client newClient = new Client("Joe Klein", 1); Client foundClient = new Client("Joe Klein", 1); newClient.Save(); newClient = Client.FindById(newClient.GetId()); Assert.Equal(foundClient, newClient); }
public void Test_IfCanFindByID_True() { Client newClient = new Client("Joe Klein", 1); Client foundClient = new Client("Joe Klein", 1); newClient.Save(); newClient = Client.FindById(newClient.GetId()); Assert.Equal(foundClient, newClient); }