RequirePluginVersions rule = new RequirePluginVersions();
rule.setBanLatest( false );
rule.setBanRelease( false );
rule.setBanSnapshots( false );
EnforcerRuleHelper helper = EnforcerTestUtils.getHelper( true );
source.setArtifactId( "a-artifact" );
assertTrue( rule.hasValidVersionSpecified( helper, source, pluginWrappers ) );
source.setArtifactId( "b-artifact" );