PHP Class ExceptionsTest

Inheritance: extends TestCase
Afficher le fichier Open project: crazycodr/standard-exceptions

Méthodes publiques

Méthode Description
assertClassIsSubclassOf ( string $expected, string $subject )
providesConstructorTestClasses ( ) : string[]
providesHttpTestClasses ( ) : string[]
testConstructor ( string $className )
testHttpMethods ( string $className )

Method Details

assertClassIsSubclassOf() public méthode

public assertClassIsSubclassOf ( string $expected, string $subject )
$expected string Class to expect $subject to extend
$subject string Class that should extend $expected

providesConstructorTestClasses() public méthode

public providesConstructorTestClasses ( ) : string[]
Résultat string[]

providesHttpTestClasses() public méthode

public providesHttpTestClasses ( ) : string[]
Résultat string[]

testConstructor() public méthode

public testConstructor ( string $className )
$className string Class to test constructor acts like standard exception

testHttpMethods() public méthode

public testHttpMethods ( string $className )
$className string Class to test http methods exist