BC_PHPUnit_Framework_TestCase
extends PHPUnit_Framework_TestCase
in package
A modified version of PHPUnit's TestCase to rid ourselves of deprecation warnings since we're using two different versions of PHPUnit in this branch (PHPUnit 4 and 5).
Table of Contents
- bc_expectException() : mixed
- bc_getMock() : mixed
Methods
bc_expectException()
public
bc_expectException(mixed $exception) : mixed
Parameters
- $exception : mixed
Return values
mixed —bc_getMock()
public
bc_getMock(mixed $originalClassName[, mixed $methods = array() ][, array<string|int, mixed> $arguments = array() ][, mixed $mockClassName = '' ][, mixed $callOriginalConstructor = true ][, mixed $callOriginalClone = true ][, mixed $callAutoload = true ][, mixed $cloneArguments = false ][, mixed $callOriginalMethods = false ][, mixed $proxyTarget = null ]) : mixed
Parameters
- $originalClassName : mixed
- $methods : mixed = array()
- $arguments : array<string|int, mixed> = array()
- $mockClassName : mixed = ''
- $callOriginalConstructor : mixed = true
- $callOriginalClone : mixed = true
- $callAutoload : mixed = true
- $cloneArguments : mixed = false
- $callOriginalMethods : mixed = false
- $proxyTarget : mixed = null