vendor/laravel/framework/src/Illuminate/Foundation/Testing/TestResponse.php
/**
     * Ensure that the response has a view as its original content.
     *
     * @return $this
     */
Ensure that the response has a view as its original content.
@return $this
Ensure that the response has a view as its original content . @return $this
protected function ensureResponseHasView()
    {
        if (! isset($this->original) || ! $this->original instanceof View) {
            return PHPUnit::fail('The response is not a view.');
        }
        return $this;
    }
protected function ensureResponseHasView ( ) { if ( ! isset ( $ this -> original ) || ! $ this -> original instanceof View ) { return PHPUnit :: fail ( 'The response is not a view.' ) ; } return $ this ; }
Ensure that the response has a view as its original content.
Ensure that the response has a view as its original content .