Eloquent\Phony\Phpunit\PhpunitAssertionRecorder::createFailure PHP Method

createFailure() public method

Create a new assertion failure exception.
public createFailure ( string $description )
$description string The failure description.
    public function createFailure($description)
    {
        throw new PhpunitAssertionException($description);
    }