54 lines
1.3 KiB
YAML
54 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: []
|