]> git.basschouten.com Git - openhab-addons.git/blob
e2864e5e1a1cd42fd9837edab66281789b0dadc2
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2024 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.plug;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.binding.boschshc.internal.devices.AbstractPowerSwitchHandlerTest;
17 import org.openhab.binding.boschshc.internal.devices.BoschSHCBindingConstants;
18 import org.openhab.core.thing.ThingTypeUID;
19
20 /**
21  * Unit tests for {@link PlugHandler}.
22  *
23  * @author David Pace - Initial contribution
24  *
25  */
26 @NonNullByDefault
27 public class PlugHandlerTest extends AbstractPowerSwitchHandlerTest<PlugHandler> {
28
29     @Override
30     protected PlugHandler createFixture() {
31         return new PlugHandler(getThing());
32     }
33
34     @Override
35     protected String getDeviceID() {
36         return "hdm:ZigBee:50325ffffe61d7b9c6e";
37     }
38
39     @Override
40     protected ThingTypeUID getThingTypeUID() {
41         return BoschSHCBindingConstants.THING_TYPE_SMART_PLUG_COMPACT;
42     }
43 }