public function testMissingServiceException() { $this->setExpectedException('\\Webiny\\Component\\ServiceManager\\ServiceManagerException'); ServiceManager::getInstance()->getService('Exception.Second'); }