PHP Class ImboUnitTest\Http\ContentNegotiationTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: imbo/imbo

Public Methods

Method Description
getIsAcceptableData ( ) : array[]
getMimeTypes ( ) : array[]
setUp ( ) Set up
tearDown ( ) Tear down
testCanCheckIfAMimeTypeIsAcceptable ( $mimeType, $acceptable, $result )
testCanPickTheBestMatchFromASetOfMimeTypes ( $mimeTypes, $acceptable, $result )

Method Details

getIsAcceptableData() public method

public getIsAcceptableData ( ) : array[]
return array[]

getMimeTypes() public method

public getMimeTypes ( ) : array[]
return array[]

setUp() public method

Set up
public setUp ( )

tearDown() public method

Tear down
public tearDown ( )

testCanCheckIfAMimeTypeIsAcceptable() public method

public testCanCheckIfAMimeTypeIsAcceptable ( $mimeType, $acceptable, $result )

testCanPickTheBestMatchFromASetOfMimeTypes() public method

public testCanPickTheBestMatchFromASetOfMimeTypes ( $mimeTypes, $acceptable, $result )