factory.createRequirePackage("export3", new VersionRange("3.0.0", "3.1.0")));
}
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")),