public function testReturnsIfOperationExists()
 {
     $s = new Service(function () {
         return ['operations' => ['foo' => ['input' => []]]];
     }, '', '');
     $this->assertTrue($s->hasOperation('foo'));
     $this->assertArrayHasKey('foo', $s->getOperations());
     $this->assertArrayHasKey('input', $s->getOperation('foo'));
 }