def test_xml(self): self.assertEqual(camel_to_underscore("XML"), "xml")
def test_index_of(self): self.assertEqual(camel_to_underscore("indexOf"), "index_of")
def test_to_lowercase(self): self.assertEqual(camel_to_underscore("toLowerCase"), "to_lower_case")
def test_http_client(self): self.assertEqual(camel_to_underscore("HTTPClient"), "http_client")
def test_xml_http_request(self): self.assertEqual( camel_to_underscore("XMLHttpRequest"), "xml_http_request" )
def test_xml(self): self.assertEqual(camel_to_underscore("XML"), "xml")
def test_to_lowercase(self): self.assertEqual(camel_to_underscore("toLowerCase"), "to_lower_case")
def test_index_of(self): self.assertEqual(camel_to_underscore("indexOf"), "index_of")
def test_xml_http_request(self): self.assertEqual( camel_to_underscore("XMLHttpRequest"), "xml_http_request" )
def test_http_client(self): self.assertEqual(camel_to_underscore("HTTPClient"), "http_client")