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