@Test
public void testCpu()
{

    final HostMetricsDto metrics = rhMetrics.getHostMetrics();
    CpuDto cpuDto = metrics.getCpu();
    assertNotNull( cpuDto );
    assertEquals( 0.9345833333, cpuDto.getSystem(), 0.0001 );
    assertEquals( 3.005, cpuDto.getUser(), 0.0001 );
    assertEquals( 0.0, cpuDto.getNice(), 0.0001 );
    assertEquals( 95.26708333333335, cpuDto.getIdle(), 0.0001 );
    assertEquals( 0.04125000000000002, cpuDto.getIowait(), 0.0001 );
}