Webiny\Component\ServiceManager\Tests\ServiceManagerExceptionTest::testMissingServiceException PHP Method

testMissingServiceException() public method

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