public function testGetMilliseconds() { $expected = round(microtime(true) * 1000); $actual = Signature::getMilliseconds(); $this->assertEquals($expected, $actual, '', 10); // allow for a 10ms discrepency }