public function testConstructor() { $service = new Description(['operations' => $this->operations]); $this->assertEquals(1, count($service->getOperations())); $this->assertFalse($service->hasOperation('foobar')); $this->assertTrue($service->hasOperation('test_command')); }