api/symfony/Component/HttpKernel/Tests/Controller/ArgumentResolver/UidValueResolverTest.yaml

83 lines
2.1 KiB
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
name: UidValueResolverTest
class_comment: null
dependencies:
- name: TestCase
type: class
source: PHPUnit\Framework\TestCase
- name: Request
type: class
source: Symfony\Component\HttpFoundation\Request
- name: UidValueResolver
type: class
source: Symfony\Component\HttpKernel\Controller\ArgumentResolver\UidValueResolver
- name: ArgumentMetadata
type: class
source: Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadata
- name: NotFoundHttpException
type: class
source: Symfony\Component\HttpKernel\Exception\NotFoundHttpException
- name: AbstractUid
type: class
source: Symfony\Component\Uid\AbstractUid
- name: UlidFactory
type: class
source: Symfony\Component\Uid\Factory\UlidFactory
- name: Ulid
type: class
source: Symfony\Component\Uid\Ulid
- name: UuidV1
type: class
source: Symfony\Component\Uid\UuidV1
- name: UuidV4
type: class
source: Symfony\Component\Uid\UuidV4
properties: []
methods:
- name: testSupports
visibility: public
parameters:
- name: expected
- name: request
- name: argument
comment: '# * @dataProvider provideSupports'
- name: provideSupports
visibility: public
parameters: []
comment: null
- name: testResolveOK
visibility: public
parameters:
- name: expected
- name: requestUid
comment: '# * @dataProvider provideResolveOK'
- name: provideResolveOK
visibility: public
parameters: []
comment: null
- name: testResolveKO
visibility: public
parameters:
- name: requestUid
- name: argumentType
comment: '# * @dataProvider provideResolveKO'
- name: provideResolveKO
visibility: public
parameters: []
comment: null
- name: testResolveAbstractClass
visibility: public
parameters: []
comment: null
traits:
- PHPUnit\Framework\TestCase
- Symfony\Component\HttpFoundation\Request
- Symfony\Component\HttpKernel\Controller\ArgumentResolver\UidValueResolver
- Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadata
- Symfony\Component\HttpKernel\Exception\NotFoundHttpException
- Symfony\Component\Uid\AbstractUid
- Symfony\Component\Uid\Factory\UlidFactory
- Symfony\Component\Uid\Ulid
- Symfony\Component\Uid\UuidV1
- Symfony\Component\Uid\UuidV4
interfaces: []