public function testPathEndIdentifierTypeName() { $key = new Key('foo', ['path' => [['kind' => 'foo', 'id' => 2], ['kind' => 'bar', 'name' => 10]]]); $this->assertEquals(Key::TYPE_NAME, $key->pathEndIdentifierType()); }