コード例 #1
0
ファイル: RelayTest.php プロジェクト: ivome/graphql-relay-php
 public function testEdgeType()
 {
     $nodeType = new ObjectType(['name' => 'test']);
     $config = ['nodeType' => $nodeType];
     $this->assertEquals(Connection::createEdgeType($config), Relay::edgeType($config));
 }