@Test
public void shouldHaveStatusOkIfDetailsAreOk() {

    // given
    final ApplicationStatus applicationStatus = applicationStatus(mock(ApplicationInfo.class), null, mock(SystemInfo.class), mock(VersionInfo.class), mock(TeamInfo.class), singletonList(
            statusDetail("bar", OK, "a message"))
    );
    // then
    assertThat(applicationStatus.status, is(OK));
}