use PHPUnit\Framework\TestCase;
use Symfony\Component\HttpFoundation\Session\Storage\Handler\IdentityMarshaller;
/**
* @author Ahmed TAILOULOUTE <ahmed.tailouloute@gmail.com>
*/
class IdentityMarshallerTest extends Testcase
{ public function testMarshall() { $marshaller =
new IdentityMarshaller();
$values =
['data' => 'string_data'
];
$failed =
[];
$this->
assertSame($values,
$marshaller->
marshall($values,
$failed));
} /**
* @dataProvider invalidMarshallDataProvider
*/
public function testMarshallInvalidData($values) {