@Test public void testGetTitle() { CloudantToDo ctd = new CloudantToDo(td); assertEquals("This is a test", ctd.getTitle()); ctd = new CloudantToDo(); ctd.setTitle("Another test"); assertEquals("Another test", ctd.getTitle()); }
public String getTitle() { return title; }
CloudantToDo { public String getTitle() { return title; } }
CloudantToDo { public String getTitle() { return title; } CloudantToDo();  CloudantToDo(ToDo td); }
CloudantToDo { public String getTitle() { return title; } CloudantToDo();  CloudantToDo(ToDo td); String get_id(); void set_id(String _id); String get_rev(); void set_rev(String _rev); String getTitle(); void setTitle(String title); boolean isCompleted(); void setCompleted(boolean completed); ToDo getToDo(); int getOrder(); void setOrder(int order); @Override boolean equals(Object obj); @Override int hashCode(); }
CloudantToDo { public String getTitle() { return title; } CloudantToDo();  CloudantToDo(ToDo td); String get_id(); void set_id(String _id); String get_rev(); void set_rev(String _rev); String getTitle(); void setTitle(String title); boolean isCompleted(); void setCompleted(boolean completed); ToDo getToDo(); int getOrder(); void setOrder(int order); @Override boolean equals(Object obj); @Override int hashCode();  }