@Test
public void getLadder() throws Exception {

  mvc.perform(MockMvcRequestBuilders.get("/ladder").accept(MediaType.APPLICATION_JSON))
      .andExpect(status().isOk())
      .andExpect(
          content()
              .string(
                  equalTo(
                      "[{\"username\":\"u2\",\"rating\":2000},{\"username\":\"u3\",\"rating\":1700},{\"username\":\"u1\",\"rating\":1500},{\"username\":\"u4\",\"rating\":800}]")));
}