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();  }
@Test(expected = IllegalStateException.class) public void build_titleIsNull_ShouldThrowException() { Todo.getBuilder(null).build(); }
@Test(expected = IllegalStateException.class) public void build_titleIsEmpty_ShouldThrowException() { Todo.getBuilder("").build(); }