releaseDescriptor.setScmSourceUrl( "scm-url" );
releaseDescriptor.setWorkingDirectory( getTestFile( "target/working-directory" ).getAbsolutePath() );
DefaultReleaseManager releaseManager = (DefaultReleaseManager) lookup( ReleaseManager.ROLE, "test" );
ReleaseDescriptorStore configStoreMock = mock( ReleaseDescriptorStore.class );
releaseManager.setConfigStore( configStoreMock );
// execute
releaseManager.clean( releaseDescriptor, null, null );