def test_for_wap(self):
		dt = DocType(WAP_TEXT)
		wap_doctype = (
			'<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN"'+
			'"http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">'
		)
		self.assertEquals(wap_doctype, dt.doctype())
	def test_is_languaje_unknown(self):
		dt = DocType("<!foo><html></html>")
		self.assertTrue(dt.is_languaje('unknown'))
	def test_is_not_languaje_unknown(self):
		dt = DocType(HTML5_TEXT)
		self.assertFalse(dt.is_languaje('unknown'), "Lenguaje unknown should be false:" + dt.doctype())
	def test_is_languaje_html5(self):
		dt = DocType(HTML5_TEXT)
		self.assertTrue(dt.is_languaje('HTML5'), "Not a HTML5:" + dt.doctype())
	def test_is_languaje_wap(self):
		dt = DocType(WAP_TEXT)
		self.assertTrue(dt.is_languaje('WAP'), "Not a WAP:" + dt.doctype())
	def test_for_html5(self):
		dt = DocType(HTML5_TEXT)
		self.assertTrue(dt.is_html5(), "Not a HTML5:" + dt.doctype())
	def test_for_wap(self):
		dt = DocType(WAP_TEXT)
		self.assertTrue(dt.is_wap(), "Not a WAP:" + dt.doctype())