Exemplo n.º 1
0
        public void Find_CandFindAndReturnARow()
        {
            //Arrange
            Client client = new Client("Bill", 1);

            client.Save();
            Client client2 = new Client("George", 2);

            client2.Save();
            // Act
            Client foundClient = Client.Find(client.GetId());

            //Assert
            Assert.Equal(client, foundClient);
        }