Method |
Description |
|
provideTestConstruct ( ) : array |
Provides test cases for testConstruct(). |
|
provideTestConstructFailsForInvalidArgument ( ) : array |
Returns test cases for testConstructFailsForInvalidArgument() |
|
testConstruct ( mixed $timestamp, float $expected ) |
Tests initializing with a timestamp. |
|
testConstructCurrentTime ( ) |
Tests initializing with the current timestamp |
|
testConstructFailsForInvalidArgument ( $timestamp ) |
Tests exception for invalid argument in constructor. |
|
testGetCallable ( ) |
Tests getCallable() |
|
testGetMicrotime ( ) |
Tests getMicrotime(). |
|
testSetMicrotime ( ) |
Tests setMicrotime(). |
|
testSetMicrotimeAsFloat ( ) |
Tests setMicrotimeAsFloat(). |
|