47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
|
name: JsonEncodeTest
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: TestCase
|
||
|
type: class
|
||
|
source: PHPUnit\Framework\TestCase
|
||
|
- name: JsonEncode
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Encoder\JsonEncode
|
||
|
- 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: testSupportsEncoding
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testEncode
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: toEncode
|
||
|
- name: expected
|
||
|
- name: context
|
||
|
comment: '# * @dataProvider encodeProvider'
|
||
|
- name: encodeProvider
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testEncodeWithError
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
traits:
|
||
|
- PHPUnit\Framework\TestCase
|
||
|
- Symfony\Component\Serializer\Encoder\JsonEncode
|
||
|
- Symfony\Component\Serializer\Encoder\JsonEncoder
|
||
|
- Symfony\Component\Serializer\Exception\UnexpectedValueException
|
||
|
interfaces: []
|