public void converts_string_to_string_value() { var result = new StringGraphType().ToAST("test"); result.ShouldNotBeNull(); result.ShouldBeOfType <StringValue>().Value.ShouldBe("test"); }
public void converts_null_to_null() { object value = null; var result = new StringGraphType().ToAST(value); result.ShouldBeOfType <NullValue>(); }