public void GetOccurrences_Should_Return_Empty_When_No_Occurrences_Found()
 {
     using (new TransactionScope())
     {
         var kiosk  = CheckInTestSetup.SetupKiosk();
         var result = CheckInController.GetOccurrences(DateTime.Now.AddMinutes(2), DateTime.Now, kiosk);
         Assert.IsEmpty(result);
     }
 }
        public void GetOccurrences_Should_Return_List_When_Occurrences_Found()
        {
            using (new TransactionScope())
            {
                var kiosk = CheckInTestSetup.SetupKiosk();
                CheckInTestSetup.SetupOccurrenceSearch(kiosk);
                var result = CheckInController.GetOccurrences(DateTime.Now.AddMinutes(30), DateTime.Now, kiosk);

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