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