vfsStreamWrapperBaseTestCase
extends BC_PHPUnit_Framework_TestCase
in package
Test for org\bovigo\vfs\vfsStreamWrapper.
Table of Contents
- $bar : vfsStreamDirectory
- sub directory
- $barURL : string
- URL of sub directory
- $baz1 : vfsStreamFile
- a file
- $baz1URL : string
- URL of file 1
- $baz2 : vfsStreamFile
- another file
- $baz2URL : string
- URL of file 2
- $foo : vfsStreamDirectory
- root directory
- $fooURL : string
- URL of root directory
- bc_expectException() : mixed
- bc_getMock() : mixed
- setUp() : mixed
- set up test environment
Properties
$bar
sub directory
protected
vfsStreamDirectory
$bar
$barURL
URL of sub directory
protected
string
$barURL
$baz1
a file
protected
vfsStreamFile
$baz1
$baz1URL
URL of file 1
protected
string
$baz1URL
$baz2
another file
protected
vfsStreamFile
$baz2
$baz2URL
URL of file 2
protected
string
$baz2URL
$foo
root directory
protected
vfsStreamDirectory
$foo
$fooURL
URL of root directory
protected
string
$fooURL
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
Return values
mixed —setUp()
set up test environment
public
setUp() : mixed