\Cake\TestSuite\Constraint\ConsoleContentsEmpty

ContentsEmpty

Summary

Methods
Properties
Constants
__construct()
matches()
toString()
No public properties found
No constants found
failureDescription()
$contents
$output
N/A
No private methods found
No private properties found
N/A

Properties

$contents

$contents : string

Type

string

$output

$output : string

Type

string

Methods

__construct()

__construct(integer  $contents, string  $output) 

Constructor

Parameters

integer $contents

Contents

string $output

Output type

matches()

matches(mixed  $other) : boolean

Checks if contents are empty

Parameters

mixed $other

Expected

Returns

boolean

toString()

toString() : string

Assertion message

Returns

string

failureDescription()

failureDescription(mixed  $other) : string

Overwrites the descriptions so we can remove the automatic "expected" message

Parameters

mixed $other

Value

Returns

string