/** * @test * @see DataSet/Assertion/moveParentContentRecordToDifferentPage.csv */ public function moveParentContentToDifferentPage() { parent::moveParentContentToDifferentPage(); $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdLast); $this->assertAssertionDataSet('moveParentContentToDifferentPage'); $responseSections = $this->getFrontendResponse(self::VALUE_PageIdTarget, 0)->getResponseSections(); $this->assertThat($responseSections, $this->getRequestSectionHasRecordConstraint()->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #2')); $this->assertThat($responseSections, $this->getRequestSectionStructureHasRecordConstraint()->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdLast)->setRecordField(self::FIELD_ContentHotel)->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1')); }