releaseDescriptor.setAdditionalArguments( "-Dmaven.test.skip=true" );
releaseDescriptor.setPerformGoals( "goal1 goal2" );
File checkoutDirectory = getTestFile( "target/checkout-directory" );
releaseDescriptor.setCheckoutDirectory( checkoutDirectory.getAbsolutePath() );
MavenExecutor mock = mock( MavenExecutor.class );
RunPerformGoalsPhase phase = (RunPerformGoalsPhase) lookup( ReleasePhase.ROLE, "run-perform-goals" );
phase.setMavenExecutor( mock );
ScmProvider scmProviderMock = mock( ScmProvider.class );
when( scmProviderMock.checkOut( isA( ScmRepository.class ),