Ouzo\Tests\CatchExceptionAssert::notCaught PHP Method

notCaught() public method

public notCaught ( )
    public function notCaught()
    {
        if ($this->exception) {
            throw $this->exception;
        }
        return $this;
    }