eZ\Publish\Core\REST\Common\Tests\FieldTypeProcessorRegistryTest::testRegisterProcessor PHP Method

testRegisterProcessor() public method

    public function testRegisterProcessor()
    {
        $registry = new FieldTypeProcessorRegistry();
        $processor = $this->getAProcessorMock();
        $registry->registerProcessor('my-type', $processor);
        $this->assertTrue($registry->hasProcessor('my-type'));
    }