!2 This page tests !-PageHeader and PageFooter-!
 * The contents of the !-PageHeader-! should appear at the start of every page.  Likewise the contents of !-PageFooter-! should appear at the end of every page.  
 * Sub pages inherit the headers and footers of their parent, unless they have !-PageHeader-! and !-PageFooter-! siblings.
!3 Test normal header and footer without sub pages.
 * First create a normal page, plus header and footer pages.
|!-fitnesse.fixtures.PageCreator-!|
|pageName|pageContents|pageAttributes|valid()|
|!-NormalPage-!|normal||true|
|!-PageHeader-!|header||true|
|!-PageFooter-!|footer||true|
 * Then request the normal page
|!-fitnesse.fixtures.WikiPageRequester-!|
|pageName|valid()|
|!-NormalPage-!|true|
 * Ensure that the header and and footer text appear in the normal page.
|!-fitnesse.fixtures.ResponseExaminer-!|
|type|pattern|matches()|value|
|contents|!-(header).*(normal).*(footer)-!|true||
----
!3 Test that sub pages inherit headers and footers.
 * Create a sub page
|!-fitnesse.fixtures.PageCreator-!|
|pageName|pageContents|pageAttributes|valid()|
|!-NormalPage.SubPage-!|sub page||true|
 * Then request the Sub page
|!-fitnesse.fixtures.WikiPageRequester-!|
|pageName|valid()|
|!-NormalPage.SubPage-!|true|
 * Ensure that the header and and footer text are inherited by the sub page.
|!-fitnesse.fixtures.ResponseExaminer-!|
|type|pattern|matches()|value|
|contents|!-(header).*(sub page).*(footer)-!|true||
----
!3 Test that sub headers and sub footers override inherited headers and footers.
 * Create sub header and sub footer
|!-fitnesse.fixtures.PageCreator-!|
|pageName|pageContents|pageAttributes|valid()|
|!-NormalPage.PageHeader-!|sub header||true|
|!-NormalPage.PageFooter-!|sub footer||true|
 * Then request the Sub page
|!-fitnesse.fixtures.WikiPageRequester-!|
|pageName|valid()|
|!-NormalPage.SubPage-!|true|
 * Ensure that the sub header and and sub footer text are inherited override their parents..
|!-fitnesse.fixtures.ResponseExaminer-!|
|type|pattern|matches()|value|
|contents|!-(sub header).*(sub page).*(sub footer)-!|true||


