releaseDescriptor.setWorkingDirectory( getTestFile( "target/working-directory" ).getAbsolutePath() );
DefaultReleaseManager releaseManager = (DefaultReleaseManager) lookup( ReleaseManager.ROLE, "test" );
Mock configStoreMock = new Mock( ReleaseDescriptorStore.class );
configStoreMock.expects( new InvokeOnceMatcher() ).method( "read" ).with(
new IsSame( releaseDescriptor ) ).will(
new ThrowStub( new ReleaseDescriptorStoreException( "message", new IOException( "ioExceptionMsg" ) ) ) );
releaseManager.setConfigStore( (ReleaseDescriptorStore) configStoreMock.proxy() );