private ExtensionManager createExtensionManager( final String specVersion1,
final String implVersion1,
final String specVersion2,
final String implVersion2 )
{
final OptionalPackage optionalPackage1 =
createPackage( VENDOR1, specVersion1, implVersion1 );
final OptionalPackage optionalPackage2 =
createPackage( VENDOR2, specVersion2, implVersion2 );
final OptionalPackage[] pkgs =
new OptionalPackage[]{optionalPackage1, optionalPackage2};
return createExtensionManager( pkgs );
}