descriptor.setWorkingDirectory( getPath ( rootProject.getFile().getParentFile() ) );
descriptor.setScmReleaseLabel( "release-label" );
ScmProvider scmProviderMock = mock( ScmProvider.class );
ScmManagerStub stub = (ScmManagerStub) lookup( ScmManager.ROLE );
stub.setScmProvider( scmProviderMock );
// execute
phase.simulate( descriptor, new DefaultReleaseEnvironment(), reactorProjects );
// verify