public void AddsNavigationName_GivenCollectionType() { var spec = new StoreIncludeProductsSpec(); string expected = nameof(Store.Products); string actual = spec.IncludeAggregators.FirstOrDefault().IncludeString; actual.Should().Be(expected); }
public void ShouldGetCorrectPropertyName_ForExpressionWithCollection() { var spec = new StoreIncludeProductsSpec(); string expeted = nameof(Store.Products); string actual = spec.IncludeAggregators.FirstOrDefault().IncludeString; Assert.Equal(expeted, actual); }