Пример #1
0
    public void Class_RecognizesMultipleAttributes()
    {
        var graphType = new AutoRegisteringInputObjectGraphType <TestClass_WithMultipleAttributes>();

        graphType.Description.ShouldBe("Test description");
        graphType.GetMetadata <string>("key1").ShouldBe("value1");
        graphType.GetMetadata <string>("key2").ShouldBe("value2");
    }