protected function setUp()
 {
     $this->dbProphecy = $this->prophesize(DatabaseConnection::class);
     $GLOBALS['TYPO3_DB'] = $this->dbProphecy->reveal();
     $GLOBALS['TCA']['pages_language_overlay'] = array();
     $this->subject = new DatabasePageLanguageOverlayRows();
 }
 protected function setUp()
 {
     $this->dbProphecy = $this->prophesize(DatabaseConnection::class);
     $GLOBALS['TYPO3_DB'] = $this->dbProphecy->reveal();
     $this->beUserProphecy = $this->prophesize(BackendUserAuthentication::class);
     $GLOBALS['BE_USER'] = $this->beUserProphecy;
     $this->subject = new DatabaseLanguageRows();
 }
 protected function setUp()
 {
     $this->singletonInstances = GeneralUtility::getSingletonInstances();
     $this->dbProphecy = $this->prophesize(DatabaseConnection::class);
     $GLOBALS['TYPO3_DB'] = $this->dbProphecy->reveal();
     $languageService = $this->prophesize(LanguageService::class);
     $GLOBALS['LANG'] = $languageService->reveal();
     $languageService->sL(Argument::cetera())->willReturnArgument(0);
     $this->subject = new DatabaseSystemLanguageRows();
 }
 protected function setUp()
 {
     $this->dbProphecy = $this->prophesize(DatabaseConnection::class);
     $GLOBALS['TYPO3_DB'] = $this->dbProphecy->reveal();
     $this->subject = new DatabaseEditRow();
 }