Exemple #1
0
        public void DoesNothing_GivenAsNoTrackingWithIdentityResolutionWithFalseCondition()
        {
            var spec = new CompanyByIdWithFalseConditions(1);

            spec.AsNoTrackingWithIdentityResolution.Should().Be(false);
        }
        public void AddsNothingToList_GivenIncludeExpressionWithFalseCondition()
        {
            var spec = new CompanyByIdWithFalseConditions(1);

            spec.IncludeExpressions.Should().BeEmpty();
        }
        public void DoesNothing_GivenSkipWithFalseCondition()
        {
            var spec = new CompanyByIdWithFalseConditions(1);

            spec.Skip.Should().BeNull();
        }
Exemple #4
0
        public void DoesNothing_GivenAsSplitQueryWithFalseCondition()
        {
            var spec = new CompanyByIdWithFalseConditions(1);

            spec.AsSplitQuery.Should().Be(false);
        }
        public void AddsNothingToList_GivenSearchExpressionWithFalseCondition()
        {
            var spec = new CompanyByIdWithFalseConditions(1);

            spec.SearchCriterias.Should().BeEmpty();
        }
Exemple #6
0
        public void DoesNothing_GivenIgnoreQueryFiltersWithFalseCondition()
        {
            var spec = new CompanyByIdWithFalseConditions(1);

            spec.IgnoreQueryFilters.Should().Be(false);
        }
Exemple #7
0
        public void AddsNothingToList_GivenDiscardedOrderChain()
        {
            var spec = new CompanyByIdWithFalseConditions(1);

            spec.OrderExpressions.Should().BeEmpty();
        }