public void testImportVersionRange() throws Exception
{
ClassLoadingMetaData result = unmarshal();
ClassLoadingMetaDataFactory factory = ClassLoadingMetaDataFactory.getInstance();
assertRequirements(result, factory.createRequireModule("export1"),
factory.createRequireModule("export2", new VersionRange("1.0.0")),
factory.createRequireModule("export3", new VersionRange("0.0.0", "1.0.0")),
factory.createRequireModule("export4", new VersionRange("1.0.0", "2.0.0")),
factory.createRequireModule("export5", new VersionRange("1.0.0", false, "2.0.0", false)),
factory.createRequireModule("export6", new VersionRange("1.0.0", false, "2.0.0", true)),
factory.createRequireModule("export7", new VersionRange("1.0.0", true, "2.0.0", false)),
factory.createRequireModule("export8", new VersionRange("1.0.0", true, "2.0.0", true)));
}