private void resultInit(Result result){
        result.hits().add(new Hit("test:hit1",80));
        result.hits().add(new Hit("test:hit2",90));
        result.hits().add(new Hit("test:hit3",70));
        result.hits().add(new Hit("test:hit4",40));
        result.hits().add(new Hit("test:hit5",50));
        result.hits().add(new Hit("test:hit6",20));
        result.hits().add(new Hit("test:hit7",20));
        result.hits().add(new Hit("test:hit8",55));
        result.hits().add(new Hit("test:hit9",75));
    }
Tests the result class

@author bratseth
container-search/src/test/java/com/yahoo/prelude/test/ResultTestCase.java