Mmoreram\RSQueueBundle\Tests\Factory\SerializerFactoryTest::testSerializerNotFound PHP Method

testSerializerNotFound() public method

Tests class or type not found
    public function testSerializerNotFound()
    {
        $serializerFactory = new SerializerFactory('\\Mmoreram\\RSQueueBundle\\Tests\\Factory\\Serializer\\EngongaSerializer');
        try {
            $serializerFactory->get();
        } catch (SerializerNotFoundException $expected) {
            return;
        }
        $this->fail('An expected SerializerNotFoundException exception has not been raised.');
    }