public void SetUp()
        {
            this.schema = new GraphQLSchema();

            var type2       = new T2(this.schema);
            var type1       = new T1(type2, this.schema);
            var t2interface = new T2Interface(this.schema);
            var rootType    = new RootQueryType(type1, t2interface, this.schema);

            this.schema.AddKnownType(type1);
            this.schema.AddKnownType(type2);
            this.schema.AddKnownType(t2interface);
            this.schema.AddKnownType(rootType);
            this.schema.AddKnownType(new SampleInputObjectType());

            this.schema.Query(rootType);
        }
 public RootQueryType(T1 type1, T2Interface type2Interface, GraphQLSchema schema) : base("RootQueryType", "")
 {
     this.Field("type1", () => type1);
     this.Field("type2i", () => (ITestType) new TestType());
 }