dimmable state
This commit is contained in:
parent
af93063cf4
commit
a3b606088c
1 changed files with 9 additions and 0 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue