PHP Class Devmatic\InstantClick\Test\FilterIfInstantClickTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: devmatic/laravel-instantclick

Méthodes publiques

Méthode 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 ( )

Méthodes protégées

Méthode 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 méthode

protected addInstantClickHeaders ( Illuminate\Http\Request $request ) : Illuminate\Http\Request
$request Illuminate\Http\Request
Résultat Illuminate\Http\Request

getHtml() protected méthode

protected getHtml ( string $pageName = 'pageWithTitle' ) : string
$pageName string
Résultat string

getNext() protected méthode

protected getNext ( string $pageName = 'pageWithTitle' ) : Closure
$pageName string
Résultat Closure

isInstantClickReponse() protected méthode

protected isInstantClickReponse ( Response $response ) : boolean
$response Symfony\Component\HttpFoundation\Response
Résultat boolean

it_will_not_modify_a_non_instantclick_request() public méthode

it_will_not_return_the_title_if_it_is_not_set() public méthode

it_will_return_the_title_and_contents_of_the_container_for_instantclick_request() public méthode

setUp() public méthode

public setUp ( )