platform/api/symfony/Component/Serializer/Tests/Encoder/JsonEncodeTest.yaml
2024-09-02 10:44:11 -07:00

46 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: []