public function testGetVersion(JsonManifestVersionStrategy
$strategy) { $this->
assertSame('main.123abc.js',
$strategy->
getVersion('main.js'
));
} /**
* @dataProvider provideValidStrategies
*/
public function testApplyVersion(JsonManifestVersionStrategy
$strategy) { $this->
assertSame('css/styles.555def.css',
$strategy->
applyVersion('css/styles.css'
));
} /**
* @dataProvider provideValidStrategies
*/
public function testApplyVersionWhenKeyDoesNotExistInManifest(JsonManifestVersionStrategy
$strategy) { $this->
assertSame('css/other.css',
$strategy->
applyVersion('css/other.css'
));
} /**
* @dataProvider provideStrictStrategies
*/