PHP Class ExceptionsTest

Inheritance: extends TestCase
Datei anzeigen Open project: crazycodr/standard-exceptions

Public Methods

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

Method Details

assertClassIsSubclassOf() public method

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

providesConstructorTestClasses() public method

public providesConstructorTestClasses ( ) : string[]
return string[]

providesHttpTestClasses() public method

public providesHttpTestClasses ( ) : string[]
return string[]

testConstructor() public method

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

testHttpMethods() public method

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