api/symfony/Component/HttpFoundation/Tests/Test/Constraint/ResponseHeaderLocationSameTest.yaml
2024-09-26 02:03:21 -07:00

49 lines
1.3 KiB
YAML

name: ResponseHeaderLocationSameTest
class_comment: null
dependencies:
- name: ExpectationFailedException
type: class
source: PHPUnit\Framework\ExpectationFailedException
- name: TestCase
type: class
source: PHPUnit\Framework\TestCase
- name: Request
type: class
source: Symfony\Component\HttpFoundation\Request
- name: Response
type: class
source: Symfony\Component\HttpFoundation\Response
- name: ResponseHeaderLocationSame
type: class
source: Symfony\Component\HttpFoundation\Test\Constraint\ResponseHeaderLocationSame
properties: []
methods:
- name: testConstraintSuccess
visibility: public
parameters:
- name: requestUrl
- name: location
- name: expectedLocation
comment: '# * @dataProvider provideSuccessCases'
- name: provideSuccessCases
visibility: public
parameters: []
comment: null
- name: testConstraintFailure
visibility: public
parameters:
- name: requestUrl
- name: location
- name: expectedLocation
comment: '# * @dataProvider provideFailureCases'
- name: provideFailureCases
visibility: public
parameters: []
comment: null
traits:
- PHPUnit\Framework\ExpectationFailedException
- PHPUnit\Framework\TestCase
- Symfony\Component\HttpFoundation\Request
- Symfony\Component\HttpFoundation\Response
- Symfony\Component\HttpFoundation\Test\Constraint\ResponseHeaderLocationSame
interfaces: []