CodeExplorer getMd5PathnameStrategy example
public function testUuidEncoding(): void
{ $this->
assertHashGenerator($this->
getUuidPathnameStrategy(),
$this->
getJpgWithFolder(), 8
);
$this->
assertHashGenerator($this->
getUuidPathnameStrategy(),
$this->
getJpg(), 8
);
$this->
assertHashGenerator($this->
getUuidPathnameStrategy(),
$this->
getTxt(), 8
);
} public function testMd5CacheBuster(): void
{ $this->
assertCacheBusterGenerator($this->
getMd5PathnameStrategy());
} public function testMd5Filename(): void
{ $this->
assertFilenameGenerator($this->
getMd5PathnameStrategy());
} public function testMd5Encoding(): void
{ $this->
assertHashGenerator($this->
getMd5PathnameStrategy(),
$this->
getJpg(), 8
);
$this->
assertHashGenerator($this->
getMd5PathnameStrategy(),
$this->
getJpgWithFolder(), 8
);