### Question:
ToDo { public boolean isCompleted() { return completed; } ToDo(); String getId(); void setId(String id); boolean isCompleted(); void setCompleted(boolean completed); String getTitle(); void setTitle(String title); int getOrder(); void setOrder(int order); @Override boolean equals(Object obj); @Override int hashCode();  }### Answer:
@Test public void testIsCompleted() { ToDo td = new ToDo(); assertFalse(td.isCompleted()); td.setCompleted(true); assertTrue(td.isCompleted()); }