@Test
public void testCompare() throws Exception
{

    assertEquals( -1, resourceHostInfo.compareTo( null ) );
    ResourceHostInfo resourceHostInfo2 = JsonUtil.fromJson( INFO_JSON, ResourceHostInfoModel.class );
    assertEquals( 0, resourceHostInfo.compareTo( resourceHostInfo2 ) );
}