name: JsonManifestVersionStrategyTest
class_comment: null
dependencies:
- name: TestCase
  type: class
  source: PHPUnit\Framework\TestCase
- name: AssetNotFoundException
  type: class
  source: Symfony\Component\Asset\Exception\AssetNotFoundException
- name: RuntimeException
  type: class
  source: Symfony\Component\Asset\Exception\RuntimeException
- name: JsonManifestVersionStrategy
  type: class
  source: Symfony\Component\Asset\VersionStrategy\JsonManifestVersionStrategy
- name: MockHttpClient
  type: class
  source: Symfony\Component\HttpClient\MockHttpClient
- name: MockResponse
  type: class
  source: Symfony\Component\HttpClient\Response\MockResponse
properties: []
methods:
- name: testGetVersion
  visibility: public
  parameters:
  - name: strategy
  comment: '# * @dataProvider provideValidStrategies'
- name: testApplyVersion
  visibility: public
  parameters:
  - name: strategy
  comment: '# * @dataProvider provideValidStrategies'
- name: testApplyVersionWhenKeyDoesNotExistInManifest
  visibility: public
  parameters:
  - name: strategy
  comment: '# * @dataProvider provideValidStrategies'
- name: testStrictExceptionWhenKeyDoesNotExistInManifest
  visibility: public
  parameters:
  - name: strategy
  - name: path
  - name: message
  comment: '# * @dataProvider provideStrictStrategies'
- name: testMissingManifestFileThrowsException
  visibility: public
  parameters:
  - name: strategy
  comment: '# * @dataProvider provideMissingStrategies'
- name: testManifestFileWithBadJSONThrowsException
  visibility: public
  parameters:
  - name: strategy
  comment: '# * @dataProvider provideInvalidStrategies'
- name: testRemoteManifestFileWithoutHttpClient
  visibility: public
  parameters: []
  comment: null
- name: provideValidStrategies
  visibility: public
  parameters: []
  comment: null
- name: provideInvalidStrategies
  visibility: public
  parameters: []
  comment: null
- name: provideMissingStrategies
  visibility: public
  parameters: []
  comment: null
- name: provideStrategies
  visibility: public
  parameters:
  - name: manifestPath
  comment: null
- name: provideStrictStrategies
  visibility: public
  parameters: []
  comment: null
traits:
- PHPUnit\Framework\TestCase
- Symfony\Component\Asset\Exception\AssetNotFoundException
- Symfony\Component\Asset\Exception\RuntimeException
- Symfony\Component\Asset\VersionStrategy\JsonManifestVersionStrategy
- Symfony\Component\HttpClient\MockHttpClient
- Symfony\Component\HttpClient\Response\MockResponse
interfaces: []