def METHOD_NAME(self):
    """Checks that the XML generated by a Scheme object with all its fields set and
    some arguments added matches what we expect."""
    scheme = Scheme("abcd")
    scheme.description = u"쎼 and 쎶 and <&> für"
    scheme.streaming_mode = Scheme.streaming_mode_simple
    scheme.use_external_validation = "false"
    scheme.use_single_instance = "true"
    arg1 = Argument(name="arg1")
    scheme.add_argument(arg1)
    arg2 = Argument(
        name="arg2",
        description=u"쎼 and 쎶 and <&> für",
        validation="is_pos_int('some_name')",
        data_type=Argument.data_type_number,
        required_on_edit=True,
        required_on_create=True
    )
    scheme.add_argument(arg2)
    constructed = scheme.to_xml()
    expected = ET.parse(data_open("data/scheme_without_defaults.xml")).getroot()
    self.assertTrue(xml_compare(expected, constructed))