public function testKey() { $key = $this->operation->key('Foo', 'Bar'); $this->assertInstanceOf(Key::class, $key); $this->assertEquals('Foo', $key->path()[0]['kind']); $this->assertEquals('Bar', $key->path()[0]['name']); }