### Question:
Todo extends AbstractEntity<Long> { public void updateTodo(final String title, final String description, final OffsetDateTime dueDate, final Boolean done) { this.title = notNull(title, "title must not be null"); this.description = description; this.dueDate = notNull(dueDate, "dueDate must not be null"); this.done = notNull(done, "done must not be null"); } protected  Todo(); static TodoBuilder newBuilder(); Long getId(); String getTitle(); String getDescription(); OffsetDateTime getDueDate(); Boolean getDone(); void updateTodo(final String title, final String description, final OffsetDateTime dueDate, final Boolean done);  }### Answer:
@Test public void updateTodo() { Todo todo = TestTodos.newDefaultTodo(); todo.updateTodo(todo.getTitle(), null, todo.getDueDate(), true); assertThat(todo.getTitle()).isEqualTo("clean fridge"); assertThat(todo.getDescription()).isNullOrEmpty(); assertThat(todo.getDueDate()).isBefore(OffsetDateTime.now()); assertThat(todo.getDone()).isTrue(); }