'int:editandsavetest'
);
// Show page
$response = $request->post($input);
$content = $response->getContent();
$this->assertTrue(!empty($content));
// If the test page has got the right content for our test it should have
// two headlines with the title "Headline2"
preg_match_all('#
]*>Headline2
]*>#', $content, $matches, PREG_SET_ORDER);
$this->assertEquals(2, count($matches));
// Get the header ids
$result = preg_match('/id="(.*)"/', $matches [0][0], $idA);
$this->assertEquals(1, $result);
$result = preg_match('/id="(.*)"/', $matches [1][0], $idB);
$this->assertEquals(1, $result);
$this->assertTrue($idA != $idB);
// Search the section edit form/button for the second id
$pattern = '/