@Test
public void setEnabledWithUnknownThingUID() throws Exception {

    ThingUID unknownUID = new ThingUID("someBundle", "someType", "someID");
    when(storageServiceMock.getStorage(eq("thing_status_storage"), any(ClassLoader.class))).thenReturn(storageMock);
    ThingManagerImpl thingManager = createThingManager();
    thingManager.setEnabled(unknownUID, true);
    verify(storageMock).remove(eq(unknownUID.getAsString()));
    thingManager.setEnabled(unknownUID, false);
    verify(storageMock).put(eq(unknownUID.getAsString()), eq(""));
}