@Test public void testGetTitle() { ToDo td = new ToDo(); assertEquals("", td.getTitle()); td.setTitle("Pick up kids at 3"); assertEquals("Pick up kids at 3", td.getTitle()); }
public String getTitle() { return title; }
ToDo { public String getTitle() { return title; } }
ToDo { public String getTitle() { return title; } ToDo(); }
ToDo { public String getTitle() { return title; } 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 String getTitle() { return title; } 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();  }