/**
* Ensures that the creator returns null if a synthetic service is requested.
*/
public function testCreatorReturnsNullIfSyntheticServiceIsRequested()
{
$definition = new Definition();
$definition->setSynthetic(true);
$this->container->setDefinition('my.service', $definition);
$this->assertNull($this->creator->create('my.service'));
}