17 use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
29 $this->expectException(\UnexpectedValueException::class);
30 $this->expectExceptionCode(1381597630);
31 $identifier = $this->getUniqueId(
'identifier__');
32 $title = $this->getUniqueId(
'title');
33 $configuration = $this->getUniqueId(
'configuration');
34 new \TYPO3\CMS\Backend\View\BackendLayout\BackendLayout($identifier, $title, $configuration);
42 $identifier = $this->getUniqueId(
'identifier');
43 $title = $this->getUniqueId(
'title');
44 $configuration = $this->getUniqueId(
'configuration');
45 $backendLayout = new \TYPO3\CMS\Backend\View\BackendLayout\BackendLayout($identifier, $title, $configuration);
47 $this->assertEquals($identifier, $backendLayout->getIdentifier());
48 $this->assertEquals($title, $backendLayout->getTitle());
49 $this->assertEquals($configuration, $backendLayout->getConfiguration());