PHP Class Devmatic\InstantClick\Test\FilterIfInstantClickTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: devmatic/laravel-instantclick

Public Methods

Method Description
it_will_not_modify_a_non_instantclick_request ( )
it_will_not_return_the_title_if_it_is_not_set ( )
it_will_return_the_title_and_contents_of_the_container_for_instantclick_request ( )
setUp ( )

Protected Methods

Method Description
addInstantClickHeaders ( Illuminate\Http\Request $request ) : Illuminate\Http\Request
getHtml ( string $pageName = 'pageWithTitle' ) : string
getNext ( string $pageName = 'pageWithTitle' ) : Closure
isInstantClickReponse ( Response $response ) : boolean

Method Details

addInstantClickHeaders() protected method

protected addInstantClickHeaders ( Illuminate\Http\Request $request ) : Illuminate\Http\Request
$request Illuminate\Http\Request
return Illuminate\Http\Request

getHtml() protected method

protected getHtml ( string $pageName = 'pageWithTitle' ) : string
$pageName string
return string

getNext() protected method

protected getNext ( string $pageName = 'pageWithTitle' ) : Closure
$pageName string
return Closure

isInstantClickReponse() protected method

protected isInstantClickReponse ( Response $response ) : boolean
$response Symfony\Component\HttpFoundation\Response
return boolean

it_will_not_modify_a_non_instantclick_request() public method

it_will_not_return_the_title_if_it_is_not_set() public method

it_will_return_the_title_and_contents_of_the_container_for_instantclick_request() public method

setUp() public method

public setUp ( )