@Test
public void testSaveResourceHostContainers() throws Exception
{

    ContainerHostInfo containerHostInfo1 = mock( ContainerHostInfo.class );
    when( containerHostInfo1.getId() ).thenReturn( UUID.randomUUID().toString() );
    when( resourceHostInfo.getContainers() ).thenReturn( Sets.newHashSet( containerHostInfo1 ) );
    resourceHost.updateHostInfo( resourceHostInfo );
    when( resourceHostInfo.getContainers() ).thenReturn( Sets.newHashSet( containerHostInfo ) );
    resourceHost.updateHostInfo( resourceHostInfo );
}