Exemplo n.º 1
0
        public void TryGetFilterLabels_does_not_include_abstract_type()
        {
            var model = GraphModel.Dynamic();

            model.VerticesModel.TryGetFilterLabels(typeof(Authority))
            .IfNone(new string[0])
            .Should()
            .Contain("Company").And
            .Contain("Person").And
            .NotContain("Authority");
        }