platform/api/symfony/Component/Serializer/Tests/Context/Encoder/CsvEncoderContextBuilderTest.yaml

53 lines
1.8 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: CsvEncoderContextBuilderTest
class_comment: '# * @author Mathias Arlaud <mathias.arlaud@gmail.com>'
dependencies:
- name: TestCase
type: class
source: PHPUnit\Framework\TestCase
- name: CsvEncoderContextBuilder
type: class
source: Symfony\Component\Serializer\Context\Encoder\CsvEncoderContextBuilder
- name: CsvEncoder
type: class
source: Symfony\Component\Serializer\Encoder\CsvEncoder
- name: InvalidArgumentException
type: class
source: Symfony\Component\Serializer\Exception\InvalidArgumentException
properties: []
methods:
- name: testWithers
visibility: public
parameters:
- name: values
comment: "# * @author Mathias Arlaud <mathias.arlaud@gmail.com>\n# */\n# class CsvEncoderContextBuilderTest\
\ extends TestCase\n# {\n# private CsvEncoderContextBuilder $contextBuilder;\n\
# \n# protected function setUp(): void\n# {\n# $this->contextBuilder = new CsvEncoderContextBuilder();\n\
# }\n# \n# /**\n# * @dataProvider withersDataProvider\n# *\n# * @param array<string,\
\ mixed> $values"
- name: withersDataProvider
visibility: public
parameters: []
comment: '# * @return iterable<array{0: array<string, mixed>|}>'
- name: testWithersWithoutValue
visibility: public
parameters: []
comment: null
- name: testCannotSetMultipleBytesAsDelimiter
visibility: public
parameters: []
comment: null
- name: testCannotSetMultipleBytesAsEnclosure
visibility: public
parameters: []
comment: null
- name: testCannotSetMultipleBytesAsEscapeChar
visibility: public
parameters: []
comment: null
traits:
- PHPUnit\Framework\TestCase
- Symfony\Component\Serializer\Context\Encoder\CsvEncoderContextBuilder
- Symfony\Component\Serializer\Encoder\CsvEncoder
- Symfony\Component\Serializer\Exception\InvalidArgumentException
interfaces: []