ConstructorUnitTest
extends TestCase
in package
Tags
Table of Contents
- constructorDataProvider() : array<string|int, mixed>
- Testing data provider
- testConstructor() : void
- Testing constructor
- testExceptionForUnexpectedPresenterType() : void
- Testing exception when unexpected presenter type was passed
Methods
constructorDataProvider()
Testing data provider
public
constructorDataProvider() : array<string|int, mixed>
Return values
array<string|int, mixed> —testing data
testConstructor()
Testing constructor
public
testConstructor(callable $setup, callable $assertions) : void
Parameters
- $setup : callable
-
setup method
- $assertions : callable
-
assertions method
Tags
Return values
void —testExceptionForUnexpectedPresenterType()
Testing exception when unexpected presenter type was passed
public
testExceptionForUnexpectedPresenterType() : void