PHP Class Helthe\Component\Turbolinks\Tests\EventListener\TurbolinksListenerTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: helthe/turbolinks

Public Methods

Method Description
testFilterDoesNothingForSubRequests ( )
testFilterDoesSomethingForMasterRequests ( )

Protected Methods

Method Description
setUp ( )
tearDown ( )

Private Methods

Method Description
addTurbolinksListener ( Turbolinks $turbolinks ) : TurbolinksListener Get an instance of TurbolinksListener.
getTurbolinksMock ( ) : PHPUnit_Framework_MockObject_MockObject Gets a mock of the Turbolinks object.

Method Details

setUp() protected method

protected setUp ( )

tearDown() protected method

protected tearDown ( )

testFilterDoesNothingForSubRequests() public method

testFilterDoesSomethingForMasterRequests() public method