@Test public void testIsCompleted() { ToDo td = new ToDo(); assertFalse(td.isCompleted()); td.setCompleted(true); assertTrue(td.isCompleted()); }
public boolean isCompleted() { return completed; }
ToDo { public boolean isCompleted() { return completed; } }
ToDo { public boolean isCompleted() { return completed; } ToDo(); }
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(); }
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();  }