public function testAnonOperationWithFragment() { $this->expectPassesRule(new LoneAnonymousOperation(), ' { ...Foo } fragment Foo on Type { field } '); }