public function testApiGetComponent_ReturnsComponent() { $aware = $this->createAware(); $component = $this->createComponent(); $server = $this->createServer($aware, $component); $this->assertSame($component, $server->getComponent()); }