public function testConnectionType() { $nodeType = new ObjectType(['name' => 'test']); $config = ['nodeType' => $nodeType]; $this->assertEquals(Connection::createConnectionType($config), Relay::connectionType($config)); }