19 use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
31 protected function setUp()
42 $backendUserAuthenticationProphecy = $this->prophesize(BackendUserAuthentication::class);
43 $backendUserAuthenticationProphecy->getTSConfig()->willReturn($expected);
44 $GLOBALS[
'BE_USER'] = $backendUserAuthenticationProphecy->reveal();
45 $result = $this->subject->addData([]);
46 $this->assertEquals($expected, $result[
'userTsConfig']);