Documentation

InputTest extends TestCase
in package

Table of Contents

Methods

testArguments()  : mixed
testConstructor()  : mixed
testGetInvalidArgument()  : mixed
testGetInvalidOption()  : mixed
testOptions()  : mixed
testSetGetInteractive()  : mixed
testSetGetStream()  : mixed
testSetInvalidArgument()  : mixed
testSetInvalidOption()  : mixed
testValidate()  : mixed
testValidateWithMissingArguments()  : mixed
testValidateWithMissingRequiredArguments()  : mixed

Methods

testArguments()

public testArguments() : mixed

testConstructor()

public testConstructor() : mixed

testGetInvalidArgument()

public testGetInvalidArgument() : mixed
Tags
expectedException

\InvalidArgumentException

expectedExceptionMessage

The "foo" argument does not exist.

testGetInvalidOption()

public testGetInvalidOption() : mixed
Tags
expectedException

\InvalidArgumentException

expectedExceptionMessage

The "foo" option does not exist.

testSetGetInteractive()

public testSetGetInteractive() : mixed

testSetGetStream()

public testSetGetStream() : mixed

testSetInvalidArgument()

public testSetInvalidArgument() : mixed
Tags
expectedException

\InvalidArgumentException

expectedExceptionMessage

The "foo" argument does not exist.

testSetInvalidOption()

public testSetInvalidOption() : mixed
Tags
expectedException

\InvalidArgumentException

expectedExceptionMessage

The "foo" option does not exist.

testValidate()

public testValidate() : mixed

testValidateWithMissingArguments()

public testValidateWithMissingArguments() : mixed
Tags
expectedException

\RuntimeException

expectedExceptionMessage

Not enough arguments (missing: "name").

testValidateWithMissingRequiredArguments()

public testValidateWithMissingRequiredArguments() : mixed
Tags
expectedException

\RuntimeException

expectedExceptionMessage

Not enough arguments (missing: "name").


        
On this page

Search results