Пример #1
0
        public void TEST_GetCheckouts_GetListOfCheckouts()
        {
            Patron testPatron = new Patron("Alex");

            testPatron.Save();
            Copy testCopy = new Copy("Melvin Goes to the zoo");

            testCopy.Save();
            testPatron.CheckoutCopy(testCopy);
            List <Checkout> checkoutList = testPatron.GetCheckouts();

            // Console.WriteLine(checkoutList[0].GetDueDate());
            Assert.Equal("3/16/2017 12:00:00 AM", checkoutList[0].GetDueDate());
        }