import org.eclipse.jdt.annotation.NonNullByDefault;
import org.eclipse.jdt.annotation.Nullable;
+import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.openhab.binding.mielecloud.internal.MieleCloudBindingConstants;
*/
protected abstract AbstractMieleThingHandler setUpThingHandler();
+ @AfterEach
+ public void tearDownAbstractMieleThingHandlerTest() {
+ getThingRegistry().forceRemove(getThingHandler().getThing().getUID());
+ getThingRegistry().forceRemove(getBridge().getUID());
+ }
+
@Test
public void testCachedStateIsQueriedOnInitialize() throws Exception {
// given: