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