Exemplo n.º 1
0
 /**
  * @test
  */
 public function ensureContentObjectForMissingContentObjectWithFrontEndUsesContentObjectFromFrontEnd()
 {
     $this->subject->cObj = NULL;
     $this->subject->ensureContentObject();
     /** @var tslib_fe $frontEndController */
     $frontEndController = $GLOBALS['TSFE'];
     self::assertSame($frontEndController->cObj, $this->subject->cObj);
 }