def METHOD_NAME(self, mock_init, mock_process):
    source = fixtures_dir.joinpath("defxmlschema/chapter03.xsd")
    result = self.runner.invoke(cli, [str(source), "--package", "foo"])
    config = mock_init.call_args[1]["config"]
    self.assertIsNone(result.exception)
    self.assertFalse(mock_init.call_args[1]["print"])
    self.assertEqual("foo", config.output.package)
    self.assertEqual("dataclasses", config.output.format.value)
    self.assertFalse(config.output.relative_imports)
    self.assertEqual(StructureStyle.FILENAMES, config.output.structure_style)
    self.assertEqual([source.as_uri()], mock_process.call_args[0][0])