Documentation

ThrowUpCommandTest extends TestCase
in package

Table of Contents

executeThis()  : mixed
testExecute()  : mixed
testMultipleArgsThrowsException()  : mixed
testParseErrorThrowsException()  : mixed

Methods

testExecute()

public testExecute(mixed $args, mixed $hasCode, mixed $expect[, mixed $addSilent = true ]) : mixed
Parameters
$args : mixed
$hasCode : mixed
$expect : mixed
$addSilent : mixed = true
Tags
dataProvider

executeThis

Return values
mixed

testMultipleArgsThrowsException()

public testMultipleArgsThrowsException() : mixed
Tags
expectedException

\InvalidArgumentException

expectedExceptionMessage

No idea how to throw this

Return values
mixed

testParseErrorThrowsException()

public testParseErrorThrowsException() : mixed
Tags
expectedException

\PhpParser\Error

expectedExceptionMessage

Syntax error, unexpected ')' on line 1

Return values
mixed

Search results