public async Task TryGetFilterLabels_does_not_include_abstract_type() { var model = GraphModel.Default(lookup => lookup .IncludeAssembliesFromAppDomain()); await Verify(model.VerticesModel .TryGetFilterLabels(typeof(Authority), FilterLabelsVerbosity.Maximum) ?? ImmutableArray <string> .Empty); }
public void TryGetFilterLabels_does_not_include_abstract_type() { var model = GraphModel.Default(lookup => lookup .IncludeAssembliesFromAppDomain()); model.VerticesModel .TryGetFilterLabels(typeof(Authority), FilterLabelsVerbosity.Maximum) .IfNone(new string[0]) .Should() .Contain("Company").And .Contain("Person").And .NotContain("Authority"); }