Documentation

InputArgumentTest extends TestCase
in package

Table of Contents

Methods

provideInvalidModes()  : mixed
testConstructor()  : mixed
testGetDefault()  : mixed
testGetDescription()  : mixed
testInvalidModes()  : mixed
testIsArray()  : mixed
testModes()  : mixed
testSetDefault()  : mixed
testSetDefaultWithArrayArgument()  : mixed
testSetDefaultWithRequiredArgument()  : mixed

Methods

testInvalidModes()

public testInvalidModes(mixed $mode) : mixed
Parameters
$mode : mixed
Tags
dataProvider

provideInvalidModes

testSetDefaultWithArrayArgument()

public testSetDefaultWithArrayArgument() : mixed
Tags
expectedException

\LogicException

expectedExceptionMessage

A default value for an array argument must be an array.

testSetDefaultWithRequiredArgument()

public testSetDefaultWithRequiredArgument() : mixed
Tags
expectedException

\LogicException

expectedExceptionMessage

Cannot set a default value except for InputArgument::OPTIONAL mode.


        
On this page

Search results