public function testInvalidPathElementAddition() { $key = new Key('foo', ['path' => [['kind' => 'thing']]]); $key->pathElement('foo', 'bar'); }