errors.php
protected function createErrorQueue()
    {
        $context = SimpleTest::getContext();
        $test    = $this->getTestCase();
        $queue   = $context->get('SimpleErrorQueue');
        $queue->setTestCase($test);

        return $queue;
    }
protected function createErrorQueue()
    {
        $context = SimpleTest::getContext();
        $test    = $this->getTestCase();
        $queue   = $context->get('SimpleErrorQueue');
        $queue->setTestCase($test);

        return $queue;
    }
protected function createErrorQueue ( ) { $ context = SimpleTest :: getContext ( ) ; $ test = $ this -> getTestCase ( ) ; $ queue = $ context -> get ( 'SimpleErrorQueue' ) ; $ queue -> setTestCase ( $ test ) ; return $ queue ; }
Wires up the error queue for a single test.

@return SimpleErrorQueue    Queue connected to the test.
Wires up the error queue for a single test .