Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
assertCacheBusterGenerator example
/** * @internal */
class
PathnameStrategyTest
extends
TestCase
{
use
IntegrationTestBehaviour;
use
MediaFixtures;
public
function
testUuidCacheBuster
(
)
: void
{
$this
->
assertCacheBusterGenerator
(
$this
->
getUuidPathnameStrategy
(
)
)
;
}
public
function
testUuidFilename
(
)
: void
{
$this
->
assertFilenameGenerator
(
$this
->
getUuidPathnameStrategy
(
)
)
;
}
public
function
testUuidEncoding
(
)
: void
{
$this
->
assertHashGenerator
(
$this
->
getUuidPathnameStrategy
(
)
,
$this
->
getJpgWithFolder
(
)
, 8
)
;
$this
->
assertHashGenerator
(
$this
->
getUuidPathnameStrategy
(
)
,
$this
->
getJpg
(
)
, 8
)
;