public void ModuleIfOmitCapacity()
        {
            var wareXml  = @"
            <wares>
                <ware id=""module_arg_prod_foodrations_01"" name=""{20104,13401}"" tags=""module"">
                    <component ref=""prod_arg_foodrations_macro"" />
                </ware>
            </wares>
            ".ToXDocument();
            var macroXml = @"
            <macros>
                <macro class=""production"">
                    <properties>
                        <workforce max=""90"" />
                    </properties>
                </macro>
            </macros>
            ".ToXDocument();
            var exporter = new ModuleExporter(new DummyCat(macroXml), wareXml);

            Assert.Equal(exporter.GetRecords(), new[] { new Module(
                                                            moduleID: "module_arg_prod_foodrations_01",
                                                            moduleTypeID: "production",
                                                            macro: "prod_arg_foodrations_macro",
                                                            maxWorkers: 90,
                                                            workersCapacity: 0,
                                                            noBlueprint: false,
                                                            thumbnail: null
                                                            ) });
        }
        public void ModuleIfOmitMaxWorkers()
        {
            var wareXml  = @"
            <wares>
                <ware id=""module_arg_hab_l_01""  name=""{20104,30301}"" tags=""module"">
                    <component ref=""hab_arg_l_01_macro"" />
                </ware>
            </wares>
            ".ToXDocument();
            var macroXml = @"
            <macros>
                <macro class=""habitation"">
                    <properties>
                        <workforce capacity=""1000"" />
                    </properties>
                </macro>
            </macros>
            ".ToXDocument();
            var exporter = new ModuleExporter(new DummyCat(macroXml), wareXml);

            Assert.Equal(exporter.GetRecords(), new[] { new Module(
                                                            moduleID: "module_arg_hab_l_01",
                                                            moduleTypeID: "habitation",
                                                            macro: "hab_arg_l_01_macro",
                                                            maxWorkers: 0,
                                                            workersCapacity: 1000,
                                                            noBlueprint: false,
                                                            thumbnail: null
                                                            ) });
        }