private function then_references_are_replaced_with_services()
{
$methodCalls = $this->apiDefinition->getMethodCalls();
$defaultParams = $methodCalls[0][1][0];
$this->assertSame('my_value', $defaultParams['my_param']);
$this->assertInstanceOf('Symfony\\Component\\DependencyInjection\\Reference', $defaultParams[0]);
$this->assertSame('my_param_service', (string) $defaultParams[0]);
}