public static List<ExportPackages.Export> parseExports(String exportAttribute) {
        ParsingContext p = new ParsingContext(exportAttribute.trim());

        List<ExportPackages.Export> exports = parseExportPackage(p);
        if (exports.isEmpty()) {
            p.fail("Expected a list of exports");
        } else if (p.atEnd() == false) {
            p.fail("Exports not fully processed");
        }
        return exports;
    }
@Test
    void require_that_spaces_between_separators_are_allowed() {
        List<Export> exports = ExportPackageParser.parseExports("exported.package1  ,  exported.package2 ; version   = \"1.2.3.sample\"  ");

        assertEquals(2, exports.size());
        Export export = exports.get(0);
        assertTrue(export.getPackageNames().contains("exported.package1"));
        export = exports.get(1);
        assertTrue(export.getPackageNames().contains("exported.package2"));
        assertTrue(export.getParameters().contains(versionParameter));
    }