/**
* WML v1.2 should pick up WML v1.1's name, dtd and code.
*/
public void testProtocolHasCorrectDTD() throws Exception {
final PublicIdCode publicIdCode = ((WMLRootConfiguration)protocol.
getProtocolConfiguration()).publicIdCode;
assertEquals("DTD should match",
"http://www.wapforum.org/DTD/wml_1.1.xml",
publicIdCode.getDtd());
assertEquals("Name should match",
"-//WAPFORUM//DTD WML 1.1//EN",
publicIdCode.getName());
assertEquals("Code should match",
0x04,
publicIdCode.getInteger());
}