@Test( expected = EnvironmentModificationException.class )
public void testSetupSshTunnelForContainer() throws Exception
{

    environmentManager.setupSshTunnelForContainer( TestHelper.CONTAINER_ID, TestHelper.ENV_ID );
    verify( localPeer ).setupSshTunnelForContainer( Common.LOCAL_HOST_IP, Common.CONTAINER_SSH_TIMEOUT_SEC );
    //-----
    doThrow( new PeerException() ).when( localPeer ).setupSshTunnelForContainer( Common.LOCAL_HOST_IP,
            Common.CONTAINER_SSH_TIMEOUT_SEC );
    environmentManager.setupSshTunnelForContainer( TestHelper.CONTAINER_ID, TestHelper.ENV_ID );
}