setUploadParameters( "1.0", "tests", new File( FileUtil.getBasedir(),
"target/test-classes/upload-artifact-test/artifact-to-be-uploaded.jar" ),
new File( FileUtil.getBasedir(), "target/test-classes/upload-artifact-test/pom.xml" ),
false );
ManagedRepositoryContent content = new ManagedDefaultRepositoryContent();
content.setRepository( getManagedRepository() );
repoFactoryControl.expectAndReturn( repoFactory.getManagedRepositoryContent( REPOSITORY_ID ), content );
managedRepoAdminControl.expectAndReturn( managedRepositoryAdmin.getManagedRepository( REPOSITORY_ID ),
getManagedRepository(), 1, 8 );