mageekguy\atoum\asserters\adapter::adapterIsSet PHP Метод

adapterIsSet() защищенный Метод

protected adapterIsSet ( )
    protected function adapterIsSet()
    {
        try {
            return parent::adapterIsSet();
        } catch (call\exceptions\logic $exception) {
            throw new exceptions\logic('Adapter is undefined');
        }
    }

Usage Example

Пример #1
0
 protected function adapterIsSet()
 {
     try {
         return parent::adapterIsSet();
     } catch (adapter\exceptions\logic $exception) {
         throw new mock\exceptions\logic('Mock is undefined');
     }
 }