def METHOD_NAME(self):
    element = self.create_test_element(self.str_formatted_xml)
    expected = re.sub(r"\s*[\r\n]\s*", "", self.str_formatted_xml)
    result = element.plain()
    assert result == expected