public void GetFamily_Should_Return_Empty_When_Phone_Is_Invalid()
 {
     using (new TransactionScope())
     {
         CheckInTestSetup.SetupPhoneSearch();
         var result = CheckInController.GetFamily(CheckInSearchTypes.PhoneNumber, "Invalid Phone Number");
         Assert.IsEmpty(result);
     }
 }
 public void GetFamily_Should_Return_Empty_Family_When_AltID_Is_Invalid()
 {
     using (new TransactionScope())
     {
         CheckInTestSetup.SetupAltIDSearch();
         var result = CheckInController.GetFamily(CheckInSearchTypes.Scanner, "Invalid Alt ID");
         Assert.AreEqual(result[0].FamilyID, -1);
     }
 }
        public void GetFamily_Should_Return_Family_When_AltID_Is_Valid()
        {
            using (new TransactionScope())
            {
                CheckInTestSetup.SetupAltIDSearch();
                var result = CheckInController.GetFamily(CheckInSearchTypes.Scanner, CheckInTestConstants.ALT_ID);

                Assert.IsNotEmpty(result);
                Assert.AreNotEqual(result[0].FamilyID, Constants.NULL_INT);
            }
        }
        public void GetFamily_Should_Return_Family_When_Phone_Is_Valid()
        {
            using (new TransactionScope())
            {
                CheckInTestSetup.SetupPhoneSearch();
                var result = CheckInController.GetFamily(CheckInSearchTypes.PhoneNumber, CheckInTestConstants.PHONE_NUMBER);

                Assert.IsNotEmpty(result);
                Assert.AreNotEqual(result[0].FamilyID, Constants.NULL_INT);
            }
        }