return DeploymentServletTest.this.m_artifactSize;
}
}).anyTimes();
replay(artifactData);
m_provider = new DeploymentProvider() {
public List<ArtifactData> getBundleData(String targetId, String version) throws IllegalArgumentException {
List<String> versions = providerVersions.get(targetId);
if (versions != null && versions.contains(version)) {
return Arrays.asList(artifactData);
}