예제 #1
0
        public void DoesNotAddNavigationName_GivenFaultyIncludeExpressions()
        {
            var spec = new StoreWithFaultyIncludeSpec();

            string expected = string.Empty;
            string actual   = spec.IncludeAggregators.FirstOrDefault().IncludeString;

            actual.Should().Be(expected);
        }
예제 #2
0
        public void ShouldGetEmptyString_ForFaultyIncludeExpressions()
        {
            var spec = new StoreWithFaultyIncludeSpec();

            string expeted = string.Empty;
            string actual  = spec.IncludeAggregators.FirstOrDefault().IncludeString;

            Assert.Equal(expeted, actual);
        }