public void registers_interfaces_when_not_used_in_fields() { var schema = new AnInterfaceSchema(); var result = schema.AllTypes.SingleOrDefault(x => x.Name == "AnInterfaceType"); result.ShouldNotBeNull("Interface type should be registered"); }
public void registers_interfaces_when_not_used_in_fields() { var schema = new AnInterfaceSchema(); schema.EnsureLookup(); var result = schema.AllTypes.SingleOrDefault(x => x.Name == "AnInterfaceType"); result.ShouldNotBeNull("Interface type should be registered"); }