@Test(expected = IllegalStateException.class) public void build_titleIsEmpty_ShouldThrowException() { Todo.getBuilder("").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(); }
Todo { public static Builder getBuilder(String title) { return new Builder(title); } private  Todo(); static Builder getBuilder(String title); Long getId(); String getDescription(); String getTitle(); @Override String toString(); }
Todo { public static Builder getBuilder(String title) { return new Builder(title); } private  Todo(); static Builder getBuilder(String title); Long getId(); String getDescription(); String getTitle(); @Override String toString();  }