/** * @test */ public function testGetGuid() { $file = new Filesystem(); $re = "/([a-z0-9]{8})-([a-z0-9]{4})-([a-z0-9]{4})-([a-z0-9]{4})-([a-z0-9]{12})/"; $guid = $file->getGuid(); preg_match_all($re, $guid, $matches); $this->assertEquals($matches[0][0], $guid); }