public void TestCheckDatesForStatusChanges()
 {
     Prescription p = new Prescription(100000, 1, "Test-Prescription", "Test-Notes", new DateTime(2013,4,6), new DateTime(2013,4,6), "Upcoming");
     p.Insert();
     Prescription.CheckDatesForStatusChanges();
     p.Select();
     Assert.True(p.Status == "History");
     p.Delete();
 }
 public void TestSelectWithNoTid()
 {
     Prescription p = new Prescription();
     Assert.False(p.Select());
 }