Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Unit tests with dates 3
public class User {
private Date dateOfBirth;
public Date getDateOfBirth() {
return dateOfBirth;
}
public User setDateOfBirth(Date day_of_birthday) {
this.dateOfBirth = day_of_birthday;
return this;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment