PHP Class ImboUnitTest\Http\ContentNegotiationTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: imbo/imbo

Méthodes publiques

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

Method Details

getIsAcceptableData() public méthode

public getIsAcceptableData ( ) : array[]
Résultat array[]

getMimeTypes() public méthode

public getMimeTypes ( ) : array[]
Résultat array[]

setUp() public méthode

Set up
public setUp ( )

tearDown() public méthode

Tear down
public tearDown ( )

testCanCheckIfAMimeTypeIsAcceptable() public méthode

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

testCanPickTheBestMatchFromASetOfMimeTypes() public méthode

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