public void AddsNavigationName_GivenSimpleType() { var spec = new StoreIncludeNameSpec(); string expected = nameof(Store.Name); string actual = spec.IncludeAggregators.FirstOrDefault().IncludeString; actual.Should().Be(expected); }
public void ShouldGetCorrectPropertyName_ForExpressionWithSimpleType() { var spec = new StoreIncludeNameSpec(); string expeted = nameof(Store.Name); string actual = spec.IncludeAggregators.FirstOrDefault().IncludeString; Assert.Equal(expeted, actual); }
public void AddsAggregatorToList_GivenExpression() { var spec = new StoreIncludeNameSpec(); spec.IncludeAggregators.Should().ContainSingle(); }