public void TestTransactionsDetailForDateNotMatchDate() { //Arrange var patient = new NationalPatient(4532, "James", "Smith"); var p = new PatientHistory(); var jaundise = new Disease("Jaundice", true); //Act p.AddPatientTransaction(patient, new DateTime(2014, 12, 26), jaundise); //Assert Assert.IsFalse(p.CheckTransactionLogAvailability(patient, new DateTime(2042, 09, 21))); }