@Test public void statusCodeAsInt() {

  when(response.getStatus()).thenReturn(200);
  assertThat(adapter.statusCodeAsInt(response)).isEqualTo(200);
  assertThat(adapter.statusCode(response)).isEqualTo(200);
}