@Test
public void setStatusCodeAsIntWorksAsExpected() {

    final int knownCode = 404;
    final MessageHeaders messageHeaders = underTest.statusCode(knownCode).build();
    assertThat(messageHeaders.getStatusCode()).contains(HttpStatusCode.NOT_FOUND);
}