You are here

public function SerializerTest::testInterface in Zircon Profile 8

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

File

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

Class

SerializerTest

Namespace

Symfony\Component\Serializer\Tests

Code

public function testInterface() {
  $serializer = new Serializer();
  $this
    ->assertInstanceOf('Symfony\\Component\\Serializer\\SerializerInterface', $serializer);
  $this
    ->assertInstanceOf('Symfony\\Component\\Serializer\\Normalizer\\NormalizerInterface', $serializer);
  $this
    ->assertInstanceOf('Symfony\\Component\\Serializer\\Normalizer\\DenormalizerInterface', $serializer);
  $this
    ->assertInstanceOf('Symfony\\Component\\Serializer\\Encoder\\EncoderInterface', $serializer);
  $this
    ->assertInstanceOf('Symfony\\Component\\Serializer\\Encoder\\DecoderInterface', $serializer);
}