@Test
public void shouldIndicateInitialStatus() {

    // given
    final MutableStatusDetailIndicator indicator = new MutableStatusDetailIndicator(statusDetail("foo", OK, "message"));
    // then
    final StatusDetail statusDetail = indicator.statusDetails().get(0);
    assertThat(statusDetail.getName(), is("foo"));
    assertThat(statusDetail.getStatus(), is(OK));
    assertThat(statusDetail.getMessage(), is("message"));
}