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

91 lines
2.9 KiB
YAML

name: JsonSerializableNormalizerTest
class_comment: '# * @author Fred Cox <mcfedr@gmail.com>'
dependencies:
- name: MockObject
type: class
source: PHPUnit\Framework\MockObject\MockObject
- name: TestCase
type: class
source: PHPUnit\Framework\TestCase
- name: CircularReferenceException
type: class
source: Symfony\Component\Serializer\Exception\CircularReferenceException
- name: InvalidArgumentException
type: class
source: Symfony\Component\Serializer\Exception\InvalidArgumentException
- name: JsonSerializableNormalizer
type: class
source: Symfony\Component\Serializer\Normalizer\JsonSerializableNormalizer
- name: NormalizerInterface
type: class
source: Symfony\Component\Serializer\Normalizer\NormalizerInterface
- name: Serializer
type: class
source: Symfony\Component\Serializer\Serializer
- name: SerializerInterface
type: class
source: Symfony\Component\Serializer\SerializerInterface
- name: JsonSerializableCircularReferenceDummy
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\JsonSerializableCircularReferenceDummy
- name: JsonSerializableDummy
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\JsonSerializableDummy
- name: CircularReferenceTestTrait
type: class
source: Symfony\Component\Serializer\Tests\Normalizer\Features\CircularReferenceTestTrait
- name: CircularReferenceTestTrait
type: class
source: CircularReferenceTestTrait
properties: []
methods:
- name: setUp
visibility: protected
parameters: []
comment: null
- name: createNormalizer
visibility: private
parameters:
- name: defaultContext
default: '[]'
comment: null
- name: testSupportNormalization
visibility: public
parameters: []
comment: null
- name: testNormalize
visibility: public
parameters: []
comment: null
- name: testCircularNormalize
visibility: public
parameters: []
comment: null
- name: getNormalizerForCircularReference
visibility: protected
parameters:
- name: defaultContext
comment: null
- name: getSelfReferencingModel
visibility: protected
parameters: []
comment: null
- name: testInvalidDataThrowException
visibility: public
parameters: []
comment: null
traits:
- PHPUnit\Framework\MockObject\MockObject
- PHPUnit\Framework\TestCase
- Symfony\Component\Serializer\Exception\CircularReferenceException
- Symfony\Component\Serializer\Exception\InvalidArgumentException
- Symfony\Component\Serializer\Normalizer\JsonSerializableNormalizer
- Symfony\Component\Serializer\Normalizer\NormalizerInterface
- Symfony\Component\Serializer\Serializer
- Symfony\Component\Serializer\SerializerInterface
- Symfony\Component\Serializer\Tests\Fixtures\JsonSerializableCircularReferenceDummy
- Symfony\Component\Serializer\Tests\Fixtures\JsonSerializableDummy
- Symfony\Component\Serializer\Tests\Normalizer\Features\CircularReferenceTestTrait
- CircularReferenceTestTrait
interfaces:
- SerializerInterface