You are here

public function SerializerTest::testDeserializeNotSupportedMissing in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/serializer/Tests/SerializerTest.php \Symfony\Component\Serializer\Tests\SerializerTest::testDeserializeNotSupportedMissing()

File

vendor/symfony/serializer/Tests/SerializerTest.php, line 201

Class

SerializerTest

Namespace

Symfony\Component\Serializer\Tests

Code

public function testDeserializeNotSupportedMissing() {
  $this->serializer = new Serializer(array(), array());
  $data = array(
    'title' => 'foo',
    'numbers' => array(
      5,
      3,
    ),
  );
  $this
    ->assertFalse($this->serializer
    ->supportsDenormalization(json_encode($data), '\\Symfony\\Component\\Serializer\\Tests\\Model', 'json'));
}