mageekguy\atoum\asserters\adapter::adapterIsSet PHP Method

adapterIsSet() protected method

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

Usage Example

Exemplo n.º 1
0
 protected function adapterIsSet()
 {
     try {
         return parent::adapterIsSet();
     } catch (adapter\exceptions\logic $exception) {
         throw new mock\exceptions\logic('Mock is undefined');
     }
 }