api/symfony/Component/Serializer/Tests/Encoder/JsonDecodeTest.yaml
2024-09-26 02:03:21 -07:00

53 lines
1.3 KiB
YAML

name: JsonDecodeTest
class_comment: null
dependencies:
- name: TestCase
type: class
source: PHPUnit\Framework\TestCase
- name: JsonDecode
type: class
source: Symfony\Component\Serializer\Encoder\JsonDecode
- name: JsonEncoder
type: class
source: Symfony\Component\Serializer\Encoder\JsonEncoder
- name: UnexpectedValueException
type: class
source: Symfony\Component\Serializer\Exception\UnexpectedValueException
properties: []
methods:
- name: setUp
visibility: protected
parameters: []
comment: null
- name: testSupportsDecoding
visibility: public
parameters: []
comment: null
- name: testDecode
visibility: public
parameters:
- name: toDecode
- name: expected
- name: context
comment: '# * @dataProvider decodeProvider'
- name: decodeProvider
visibility: public
parameters: []
comment: null
- name: testDecodeWithException
visibility: public
parameters:
- name: value
- name: expectedExceptionMessage
- name: context
comment: '# * @dataProvider decodeProviderException'
- name: decodeProviderException
visibility: public
parameters: []
comment: null
traits:
- PHPUnit\Framework\TestCase
- Symfony\Component\Serializer\Encoder\JsonDecode
- Symfony\Component\Serializer\Encoder\JsonEncoder
- Symfony\Component\Serializer\Exception\UnexpectedValueException
interfaces: []