dimmable state

This commit is contained in:
omenem 2020-05-25 14:06:49 +02:00
parent af93063cf4
commit a3b606088c

View file

@ -33,4 +33,13 @@ public class DimmableStateTests {
this.dimmableState.apply();
assertEquals(30, d.getIntensity());
}
@Test
@DisplayName("apply")
public void copy() {
this.dimmableState.setIntensity(30);
DimmableState copy = this.dimmableState.copy();
assertEquals(30, copy.getIntensity());
}
}