  @Test
  public void testDistribution2() {

    List<IDValue> recs = target("/classificationDistribution/A,-5,").request()
        .accept(MediaType.APPLICATION_JSON_TYPE).get(LIST_ID_VALUE_TYPE);
    Assert.assertEquals("X", recs.get(0).getID());
    Assert.assertEquals((1.0 / 6.0 + 2 * (100.0 / 1400.0)) / 3,
                        recs.get(0).getValue(),
                        OryxTest.DOUBLE_EPSILON);
    Assert.assertEquals("Y", recs.get(1).getID());
    Assert.assertEquals((2.0 / 6.0 + 2 * (400.0 / 1400.0)) / 3,
                        recs.get(1).getValue(),
                        OryxTest.DOUBLE_EPSILON);
    Assert.assertEquals("Z", recs.get(2).getID());
    Assert.assertEquals((3.0 / 6.0 + 2 * (900.0 / 1400.0)) / 3,
                        recs.get(2).getValue(),
                        OryxTest.DOUBLE_EPSILON);
  }