convertToPHPValue() public method

public convertToPHPValue ( $value, Doctrine\DBAL\Platforms\AbstractPlatform $platform )
$platform Doctrine\DBAL\Platforms\AbstractPlatform
 /**
  * @test
  * @dataProvider provideSerializedValues
  */
 public function valuesShouldDeserializeProperly($expected, $serialized)
 {
     $deserialized = $this->type->convertToPHPValue($serialized, $this->platform);
     $this->assertSame($expected, $deserialized);
 }