@Test
public void assertIsHandlerInitializedWorksCorrectlyForAThingStatus() {

    assertThat(isHandlerInitialized(ThingStatus.UNINITIALIZED), is(false));
    assertThat(isHandlerInitialized(ThingStatus.INITIALIZING), is(false));
    assertThat(isHandlerInitialized(ThingStatus.REMOVING), is(false));
    assertThat(isHandlerInitialized(ThingStatus.REMOVED), is(false));
    assertThat(isHandlerInitialized(ThingStatus.UNKNOWN), is(true));
    assertThat(isHandlerInitialized(ThingStatus.ONLINE), is(true));
    assertThat(isHandlerInitialized(ThingStatus.OFFLINE), is(true));
}