@Test
public void shouldHealthyOnStartup() throws Exception {

    // given
    GracefulShutdownHealthIndicator gracefulShutdownHealthIndicator;
    // when
    gracefulShutdownHealthIndicator = new GracefulShutdownHealthIndicator(mock(GracefulShutdownProperties.class));
    // then
    assertThat(gracefulShutdownHealthIndicator.health(), is(up().build()));
}