public function SerializerTest::testInterface in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/serializer/Tests/SerializerTest.php \Symfony\Component\Serializer\Tests\SerializerTest::testInterface()
File
- vendor/
symfony/ serializer/ Tests/ SerializerTest.php, line 25
Class
Namespace
Symfony\Component\Serializer\TestsCode
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);
}