public function getFormatConverters() { $this->assertEmpty($this->registry->getFormatConverters()); $name = 'test'; $converter = $this->createFormatConverter(); $this->registry->addFormatConverter($name, $converter); $this->assertEquals([$name => $converter], $this->registry->getFormatConverters()); }