]> git.basschouten.com Git - openhab-addons.git/blob
adef4fb1929e9bc08b2186725640256d950986e6
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
7  * This program and the accompanying materials are made available under the
8  * terms of the Eclipse Public License 2.0 which is available at
9  * http://www.eclipse.org/legal/epl-2.0
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.boschshc.internal.devices.smokedetector;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.binding.boschshc.internal.devices.AbstractSmokeDetectorHandlerTest;
17 import org.openhab.binding.boschshc.internal.devices.BoschSHCBindingConstants;
18 import org.openhab.core.thing.ThingTypeUID;
19
20 /**
21  * Unit Tests for {@link SmokeDetectorHandler}.
22  *
23  * @author Gerd Zanker - Initial contribution
24  *
25  */
26 @NonNullByDefault
27 public class SmokeDetectorHandlerTest extends AbstractSmokeDetectorHandlerTest<SmokeDetectorHandler> {
28
29     @Override
30     protected SmokeDetectorHandler createFixture() {
31         return new SmokeDetectorHandler(getThing());
32     }
33
34     @Override
35     protected String getDeviceID() {
36         return "hdm:HomeMaticIP:3014F711A00004DBB85C1234";
37     }
38
39     @Override
40     protected ThingTypeUID getThingTypeUID() {
41         return BoschSHCBindingConstants.THING_TYPE_SMOKE_DETECTOR;
42     }
43 }