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

testGetProcessor() public method

public testGetProcessor ( )
    public function testGetProcessor()
    {
        $registry = new FieldTypeProcessorRegistry();
        $processor = $this->getAProcessorMock();
        $registry->registerProcessor('my-type', $processor);
        $this->assertSame($processor, $registry->getProcessor('my-type'));
    }