PHP Class ImboUnitTest\EventListener\ResponseETagTest

Inheritance: extends ImboUnitTest\EventListener\ListenerTests
Datei anzeigen Open project: imbo/imbo

Public Methods

Method Description
getRoutesForETags ( ) : array[] Data provider
getTaintedHeaders ( ) : array[] Data provider
setUp ( ) Set up the listener
tearDown ( ) Tear down the listener
testCanFixATaintedInNoneMatchHeader ( $incoming, $real, $willFix )
testWillSetETagForSomeRoutes ( $route, $hasETag, $isOk = false, $content = null )

Protected Methods

Method Description
getListener ( )

Method Details

getListener() protected method

protected getListener ( )

getRoutesForETags() public method

Data provider
public getRoutesForETags ( ) : array[]
return array[]

getTaintedHeaders() public method

Data provider
public getTaintedHeaders ( ) : array[]
return array[]

setUp() public method

Set up the listener
public setUp ( )

tearDown() public method

Tear down the listener
public tearDown ( )

testCanFixATaintedInNoneMatchHeader() public method

public testCanFixATaintedInNoneMatchHeader ( $incoming, $real, $willFix )

testWillSetETagForSomeRoutes() public method

public testWillSetETagForSomeRoutes ( $route, $hasETag, $isOk = false, $content = null )