public function testGetCreated() { $date = $this->simpleVersioned->getCreated(); $diff = time() - $date->getTimestamp(); $this->assertTrue($diff < 60, 'creation date of the version we created in setupBeforeClass should be within the last few seconds'); }