@Test(dataProvider = "dtd_page_provider")
public void verify_correct_dtds(String pageName, String expectedDTD, String checkText)
{
PageTester tester = new PageTester(TestConstants.APP2_PACKAGE, TestConstants.APP2_NAME);
Document doc = tester.renderPage(pageName);
String txt = doc.toString();
// use startsWith to make sure the DTD is getting into the right spot.
assertTrue(txt.startsWith(expectedDTD));
// we should also make sure that the other DTD's don't appear anywhere else...
checkOtherDTD(txt, expectedDTD);