PHP Class phpmock\test\MockNamespaceTest

See also: Mock
Author: Markus Malkusch ([email protected])
Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: php-mock/php-mock

Public Methods

Method Description
provideTestNamespace ( ) : string[][] Provides namespaces for testNamespace().
testDefiningNamespaces ( ) Tests defining mocks in a different namespace.
testRedefiningNamespaces ( ) Tests redefining mocks in a different namespace.

Protected Methods

Method Description
setUp ( )
tearDown ( )

Method Details

provideTestNamespace() public method

Provides namespaces for testNamespace().
public provideTestNamespace ( ) : string[][]
return string[][] Namespaces.

setUp() protected method

protected setUp ( )

tearDown() protected method

protected tearDown ( )

testDefiningNamespaces() public method

Tests defining mocks in a different namespace.

testRedefiningNamespaces() public method

Tests redefining mocks in a different namespace.