@Test
public void topTenLargestAwards() throws Exception {

    final List<Document> topTenLargestAwards = topTenController
            .topTenLargestAwards(new YearFilterPagingRequest());
    Assert.assertEquals(2, topTenLargestAwards.size());
    final Document first = topTenLargestAwards.get(0);
    BasicDBObject awards = (BasicDBObject) first.get("awards");
    BasicDBObject value = (BasicDBObject) awards.get("value");
    double amount = (double) value.get("amount");
    Assert.assertEquals(6000000.0, amount, 0);
    final Document second = topTenLargestAwards.get(1);
    awards = (BasicDBObject) second.get("awards");
    value = (BasicDBObject) awards.get("value");
    amount = (double) value.get("amount");
    Assert.assertEquals(40000.0, amount, 0);
}