public function testIdentifiesOutputTypes()
{
$expected = [[Type::int(), true], [$this->objectType, true], [$this->interfaceType, true], [$this->unionType, true], [$this->enumType, true], [$this->inputObjectType, false]];
foreach ($expected as $index => $entry) {
$this->assertSame($entry[1], Type::isOutputType($entry[0]), "Type {$entry[0]} was detected incorrectly");
}
}