tests/CmsManager/CmsSnapshotManagerTest.php
/**
     * Test finding an non-existing container in a page does NOT create a new block.
     */
Test finding an non-existing container in a page does NOT create a new block.
Test finding an non - existing container in a page does NOT create a new block .
public function testFindNonExistingContainerCreatesNoNewBlock(): void
    {
        $page = new Page();
        $container = $this->manager->findContainer('newcontainer', $page);
        static::assertNull($container, 'should not create a new container block');
    }
public function testFindNonExistingContainerCreatesNoNewBlock ( ) : void { $ page = new Page ( ) ; $ container = $ this -> manager -> findContainer ( 'newcontainer' , $ page ) ; static :: assertNull ( $ container , 'should not create a new container block' ) ; }
Test finding an non-existing container in a page does NOT create a new block.
Test finding an non - existing container in a page does NOT create a new block .