MockMicrotime
class MockMicrotime (View source)
Class to control the values returned from microtime().
Methods
static
reset()
Reset the mock microtime() function - This clears any potential expected calls.
static
expect(float $result)
Add an expected call to microtime().