UiLesson implements Serializable { public boolean hasDescription() { return description != null && description.length() > 0; }  String getName(); void setName(String name); String getTimeSlot(); void setTimeSlot(String timeSlot); String getType(); void setType(String type); String getRoom(); void setRoom(String room); String getDescription(); void setDescription(String description); boolean hasDescription(); String getLecturerShort(); void setLecturerShort(String lecturerShort); String getLecturerLong(); void setLecturerLong(String lecturerLong);  }
@Test public void testTESThasDescription() { sut.setDescription("some description"); boolean actual = sut.hasDescription(); assertTrue(actual); }