}
@Test
public void testTimeoutException() throws IOException {
ServerDeploymentManager sdm = new MockServerDeploymentManager(new TimeoutException());
DeploymentPlanBuilder builder = sdm.newDeploymentPlan();
builder = builder.add("test", createTempFile());
DeploymentPlanImpl planImpl = getDeploymentPlanImpl(builder);
safeGetWithTimeout(sdm, planImpl);
InputStream is = getInputStream(planImpl);
assertNotClosed(is);