def METHOD_NAME(self):
    self._test_parse_create()
    file_path = os.path.join(os.path.dirname(__file__), "data", "v2", "basic_close.xml")
    with open(file_path, "rb") as f:
        xml_data = f.read()
    case = submit_form_locally(xml_data, 'test-domain').case
    self.assertTrue(case.closed)
    self.assertEqual("bar-user-id", case.closed_by)