### Question:
Device { public String getType() { return type; } Device(String id, String name, DeviceStatus status, String type, Date created, Date updated); String getId(); String getName(); DeviceStatus getStatus(); String getType(); Date getCreated(); Date getUpdated(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void getType() throws Exception { assertEquals(TYPE, device.getType()); }