scene priority

This commit is contained in:
omenem 2020-05-25 14:37:20 +02:00
parent c1a1994192
commit 7cdbb19126
2 changed files with 12 additions and 0 deletions

View file

@ -38,6 +38,10 @@ public class ScenePriority {
return id;
}
public void setId(long id) {
this.id = id;
}
public Integer getPriority() {
return priority;
}

View file

@ -24,6 +24,14 @@ public class ScenePriorityTests {
assertEquals(20, scenePriority.getAutomationId());
}
@Test
@DisplayName("get and set id")
public void getAndSetId() {
scenePriority.setId(20L);
assertEquals(20, scenePriority.getId());
}
@Test
@DisplayName("get and set scene id")
public void getAndSetSceneId() {