Class TestCase
Class TestCase.
A base test case with some extra assertions
- PHPUnit_Framework_TestCase
- Chromabits\Nucleus\Testing\TestCase
Abstract
Namespace: Chromabits\Nucleus\Testing
Package: Chromabits\Nucleus\Testing
Author: Eduardo Trujillo ed@chromabits.com
Located at Chromabits/Nucleus/Testing/TestCase.php
Namespace: Chromabits\Nucleus\Testing
Package: Chromabits\Nucleus\Testing
Author: Eduardo Trujillo ed@chromabits.com
Located at Chromabits/Nucleus/Testing/TestCase.php
public static
|
#
assertInstanceOf( string|array $expected, mixed $actual, string $message = '' )
Asserts that a variable is of a given type. |
public static
|
|
public static
|
|
public
|
#
assertObjectHasAttributes( array $attributes, mixed $object, string $message = '' )
Assert that an object has all attributes in an array. |