Beispiel #1
0
        public void converts_bool_to_boolean_value()
        {
            var result = new BooleanGraphType().ToAST(true);

            result.ShouldNotBeNull();
            result.ShouldBeOfType <BooleanValue>().Value.ShouldBe(true);
        }
Beispiel #2
0
    public void converts_bool_to_boolean_value()
    {
        var result = new BooleanGraphType().ToAST(true);

        result.ShouldNotBeNull();
        result.ShouldBeAssignableTo <GraphQLBooleanValue>().Value.ShouldBe("true");
    }