public void Should_Do_JobFormResultsView_Complex_Query()
        {
            Locator.Current.Register <ICacheProvider>(() => new MemoryCacheProvider());
            var jobFormResultsViewRepository = new GenericCacheRepository <JobFormResultsView>(new WorkBenchContext());
            var result = jobFormResultsViewRepository.GetAll();

            Assert.That(result, Is.Not.Null.Or.Empty);
        }
        public void Should_Do_JobFormResultsView_Join_Linq_Query()
        {
            using (var ctx = new WorkBenchContext())
            {
                Locator.SetContainer(new Container());
                Locator.Current.Register <ICacheProvider>(() => new MemoryCacheProvider());
                var jobFormResultsViewRepository = new GenericCacheRepository <JobFormResultsView>(ctx);

                var result = jobFormResultsViewRepository.GetAll();
                Assert.That(result, Is.Not.Null.Or.Empty);
            }
        }