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