]> git.basschouten.com Git - openhab-addons.git/blob
96b1ec31a91448158a70bab37914af792e358d62
[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.wallthermostat;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.binding.boschshc.internal.devices.AbstractBatteryPoweredDeviceHandlerTest;
17 import org.openhab.binding.boschshc.internal.devices.BoschSHCBindingConstants;
18 import org.openhab.core.thing.ThingTypeUID;
19
20 /**
21  * Unit Tests for {@link WallThermostatHandler}.
22  *
23  * @author David Pace - Initial contribution
24  *
25  */
26 @NonNullByDefault
27 public class WallThermostatHandlerTest extends AbstractBatteryPoweredDeviceHandlerTest<WallThermostatHandler> {
28
29     @Override
30     protected WallThermostatHandler createFixture() {
31         return new WallThermostatHandler(getThing());
32     }
33
34     @Override
35     protected String getDeviceID() {
36         return "hdm:ZigBee:000d6f0016d1a193";
37     }
38
39     @Override
40     protected ThingTypeUID getThingTypeUID() {
41         return BoschSHCBindingConstants.THING_TYPE_WALL_THERMOSTAT;
42     }
43 }