32 lines
1.1 KiB
YAML
32 lines
1.1 KiB
YAML
name: IdentityMarshallerTest
|
|
class_comment: '# * @author Ahmed TAILOULOUTE <ahmed.tailouloute@gmail.com>'
|
|
dependencies:
|
|
- name: TestCase
|
|
type: class
|
|
source: PHPUnit\Framework\TestCase
|
|
- name: IdentityMarshaller
|
|
type: class
|
|
source: Symfony\Component\HttpFoundation\Session\Storage\Handler\IdentityMarshaller
|
|
properties: []
|
|
methods:
|
|
- name: testMarshallInvalidData
|
|
visibility: public
|
|
parameters:
|
|
- name: values
|
|
comment: "# * @author Ahmed TAILOULOUTE <ahmed.tailouloute@gmail.com>\n# */\n# class\
|
|
\ IdentityMarshallerTest extends TestCase\n# {\n# public function testMarshall()\n\
|
|
# {\n# $marshaller = new IdentityMarshaller();\n# $values = ['data' => 'string_data'];\n\
|
|
# $failed = [];\n# \n# $this->assertSame($values, $marshaller->marshall($values,\
|
|
\ $failed));\n# }\n# \n# /**\n# * @dataProvider invalidMarshallDataProvider"
|
|
- name: testUnmarshall
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: invalidMarshallDataProvider
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
traits:
|
|
- PHPUnit\Framework\TestCase
|
|
- Symfony\Component\HttpFoundation\Session\Storage\Handler\IdentityMarshaller
|
|
interfaces: []
|