public void GetRelatives_Should_Return_All_Relatives_When_Relationships_Set()
 {
     using (new TransactionScope())
     {
         var family = CheckInTestSetup.SetupRelativeSearchWithRelatives();
         var result = CheckInController.GetRelatives(family, new[] { CheckInTestConstants.RELATIONSHIP_TYPE_ID });
         Assert.Greater(result.Count, family.Children().Count);
     }
 }
 public void GetRelatives_Should_Return_Only_FamilyMembers_When_No_Relationships_Set()
 {
     using (new TransactionScope())
     {
         var family = CheckInTestSetup.SetupRelativeSearch();
         var result = CheckInController.GetRelatives(family);
         Assert.AreEqual(result.Count, family.Children().Count);
     }
 }