]> git.basschouten.com Git - openhab-addons.git/blob
0e650cde0096d10f9428f424231454d9f0bb821e
[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.thermostat;
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 ThermostatHandler}.
22  *
23  * @author David Pace - Initial contribution
24  *
25  */
26 @NonNullByDefault
27 public class ThermostatHandlerTest extends AbstractBatteryPoweredDeviceHandlerTest<ThermostatHandler> {
28
29     @Override
30     protected ThermostatHandler createFixture() {
31         return new ThermostatHandler(getThing());
32     }
33
34     @Override
35     protected String getDeviceID() {
36         return "hdm:ZigBee:000d6f0017f1ace2";
37     }
38
39     @Override
40     protected ThingTypeUID getThingTypeUID() {
41         return BoschSHCBindingConstants.THING_TYPE_THERMOSTAT;
42     }
43 }