@Test
public void testDisk()
{

    final HostMetricsDto metrics = rhMetrics.getHostMetrics();
    Map<String, DiskDto> disk = metrics.getDisk();
    assertNotNull( disk );
    assertEquals( 5, disk.keySet().size() );
    // root partition
    DiskDto root = disk.get( "/" );
    double available = root.getAvailable();
    assertEquals( 3.00056576E8, available, 0.0001 );
    double total = root.getTotal();
    assertEquals( 1.02330368E9, total, 0.0001 );
    double used = root.getUsed();
    assertEquals( 6.52783616E8, used, 0.0001 );
    // TODO: 10/29/16 why total <> available + used
    //        assertEquals( total, available+used,0.001 );
}