mageekguy\atoum\asserters\object::testedInstanceIsSet PHP Метод

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

protected testedInstanceIsSet ( )
    protected function testedInstanceIsSet()
    {
        if ($this->test === null || $this->test->testedInstance === null) {
            throw new exceptions\logic('Tested instance is undefined in the test');
        }
        return $this;
    }