public function testDisallowsObjectFieldsOnInterfaces() { $query = ' query DroidFieldOnCharacter { hero { name primaryFunction } } '; $errors = $this->validationErrors($query); $this->assertEquals(false, empty($errors)); }