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

    doThrow( new HostNotFoundException( "" ) ).when( localPeer )
                                              .getResourceHostByContainerName( Common.MANAGEMENT_HOSTNAME );
    localPeer.getManagementHost();
}