PhpBench\Tests\Unit\Formatter\FormatRegistryTest::testRegisterExisting PHP Метод

testRegisterExisting() публичный Метод

It should throw an exception if an attempt is made to add a duplicate format.
    public function testRegisterExisting()
    {
        $this->registry->register('hello', $this->format->reveal());
        $this->registry->register('hello', $this->format->reveal());
    }