public function testPathEndIdentifierNull() { $key = new Key('foo', ['path' => [['kind' => 'foo', 'id' => 2], ['kind' => 'bar']]]); $this->assertNull($key->pathEndIdentifier()); }