@Test
public void updateAwards() throws Exception {

    Award award = new Award("Test Award", new SafeCalendar(2016), "http://test.com");
    testVoidSpec(resource.updateAwards(Collections.singletonList(award)));
    RecordedRequest request = server.takeRequest(500, TimeUnit.MILLISECONDS);
    assertThat(request).isNotNull();
    assertThat(request.getBody().readUtf8())
          .startsWith("{\"awards\":[")
          .containsOnlyOnce("\"name\":\"Test Award\"")
          .containsOnlyOnce("\"date_awarded\":\"2016\"")
          .containsOnlyOnce("\"url\":\"http://test.com\"")
          .endsWith("]}");
}