@Test( expected = HostNotFoundException.class )
public void testGetContainerHostByName() throws Exception
{

    assertEquals( containerHost, localPeer.getContainerHostByHostName( CONTAINER_HOST_NAME ) );
    doThrow( new HostNotFoundException( "" ) ).when( resourceHost )
                                              .getContainerHostByHostName( CONTAINER_HOST_NAME );
    localPeer.getContainerHostByHostName( CONTAINER_HOST_NAME );
}