'class' => '\Drupal\Tests\Component\DependencyInjection\MockService',
'arguments' =>
$this->
getCollection([ $this->
getServiceCall('other.service'
),
$this->
getParameterCall('some_private_config'
),
]),
'public' => FALSE,
];
$services['service_using_private'
] =
[ 'class' => '\Drupal\Tests\Component\DependencyInjection\MockService',
'arguments' =>
$this->
getCollection([ $this->
getPrivateServiceCall(NULL,
$private_service),
$this->
getParameterCall('some_config'
),
]),
];
$services['another_service_using_private'
] =
[ 'class' => '\Drupal\Tests\Component\DependencyInjection\MockService',
'arguments' =>
$this->
getCollection([ $this->
getPrivateServiceCall(NULL,
$private_service),
$this->
getParameterCall('some_config'
),
]),
];