@Test
public void testDestroyContainer() throws Exception
{

    doThrow( new ResourceHostException( "" ) ).when( resourceHost ).destroyContainerHost( containerHost );
    try
    {
        localPeer.destroyContainer( containerHost.getContainerId() );
        fail( "Expected PeerException" );
    }
    catch ( PeerException e )
    {
    }
}