public function testRegisterExisting() { $this->registry->register('hello', $this->format->reveal()); $this->registry->register('hello', $this->format->reveal()); }