/** * @expectedException \Shopware\Components\Api\Exception\ParameterMissingException */ public function testGetOneWithMissingIdShouldThrowParameterMissingException() { $this->resource->getOne(''); }