@Test(expected = IllegalStateException.class) public void build_titleIsNull_ShouldThrowException() { Todo.getBuilder(null).build(); }
public static Builder getBuilder(String title) { return new Builder(title); }
Todo { public static Builder getBuilder(String title) { return new Builder(title); } }
Todo { public static Builder getBuilder(String title) { return new Builder(title); } private  Todo(Builder builder); }
Todo { public static Builder getBuilder(String title) { return new Builder(title); } private  Todo(Builder builder); static Builder getBuilder(String title); Long getId(); LocalDateTime getCreationTime(); String getDescription(); LocalDateTime getModificationTime(); String getTitle(); @Override String toString(); }
Todo { public static Builder getBuilder(String title) { return new Builder(title); } private  Todo(Builder builder); static Builder getBuilder(String title); Long getId(); LocalDateTime getCreationTime(); String getDescription(); LocalDateTime getModificationTime(); String getTitle(); @Override String toString();  }