### Question:
DeviceEntity extends Entity implements RegistryEntity { public String getID() { return this.id; } DeviceEntity();  DeviceEntity(String type, String name, String uri); String getType(); void setType(String type); String getName(); void setName(String name); String getID(); void setID(String uri); @Override int getPersistentId(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test void testGetUri() { assertThat(this.deviceEntity.getID(), equalTo("abc123")); }