ExceptionComparator
extends ObjectComparator
in package
FinalYes
Compares Exception instances for equality.
Table of Contents
Properties
Methods
- accepts() : bool
- assertEquals() : void
- setFactory() : void
- factory() : Factory
- toArray() : array<string|int, mixed>
- indent() : string
Properties
$factory
private
Factory
$factory
Methods
accepts()
public
accepts(mixed $expected, mixed $actual) : bool
Parameters
- $expected : mixed
- $actual : mixed
Return values
boolassertEquals()
public
assertEquals(mixed $expected, mixed $actual[, float $delta = 0.0 ][, bool $canonicalize = false ][, bool $ignoreCase = false ][, array<string|int, mixed> &$processed = [] ]) : void
Parameters
- $expected : mixed
- $actual : mixed
- $delta : float = 0.0
- $canonicalize : bool = false
- $ignoreCase : bool = false
- $processed : array<string|int, mixed> = []
Tags
setFactory()
public
setFactory(Factory $factory) : void
Parameters
- $factory : Factory
factory()
protected
factory() : Factory
Return values
FactorytoArray()
protected
toArray(object $object) : array<string|int, mixed>
Parameters
- $object : object
Return values
array<string|int, mixed>indent()
private
indent(string $lines) : string
Parameters
- $lines : string