public void TestGuardianIDExists()
 {
     DatabaseController.GuardianInfoDB db = new DatabaseController.GuardianInfoDB();
     Assert.IsTrue(db.GuardianIDExists("123450"));
     Assert.IsFalse(db.GuardianIDExists("9999999999"));
 }
 public void TestCheckIfFamilyExists()
 {
     DatabaseController.GuardianInfoDB db = new DatabaseController.GuardianInfoDB();
     Assert.IsNotNull(db.CheckIfFamilyExists("12345"));
     Assert.AreEqual(db.CheckIfFamilyExists("12345"), "12345");
 }
 public void TestGetPhotoPath()
 {
     DatabaseController.GuardianInfoDB db = new DatabaseController.GuardianInfoDB();
     Assert.IsNotNull(db.GetPhotoPath("123450"));
     Assert.AreEqual(db.GetPhotoPath("123450"), "../../Pictures/Bilbo_Baggins.jpg");
 }
 public void TestGetPhoneNumber()
 {
     DatabaseController.GuardianInfoDB db = new DatabaseController.GuardianInfoDB();
     Assert.IsNotNull(db.GetPhoneNumber("123450"));
     Assert.AreEqual(db.GetPhoneNumber("123450"), "555-123-4567");
 }
 public void TestGetAddress3()
 {
     DatabaseController.GuardianInfoDB db = new DatabaseController.GuardianInfoDB();
     Assert.IsNotNull(db.GetAddress3("123450"));
     Assert.AreEqual(db.GetAddress3("123450"), "Shiree, ME 99999");
 }
 public void TestGetAddress2()
 {
     DatabaseController.GuardianInfoDB db = new DatabaseController.GuardianInfoDB();
     Assert.IsNotNull(db.GetAddress2("123450"));
     Assert.AreEqual(db.GetAddress2("123450"), "Hole A");
 }
 public void TestGetParentName()
 {
     DatabaseController.GuardianInfoDB db = new DatabaseController.GuardianInfoDB();
     Assert.IsNotNull(db.GetParentName("123450"));
     Assert.AreEqual(db.GetParentName("123450"), "Bilbo Baggins");
 }