/** * Tests that Container::getDefinition() works properly. * @expectedException \RuntimeException * @covers ::getDefinition() */ public function test_getDefinition_exception() { $this->container->getDefinition('service_not_exist'); }