Instantly share code, notes, and snippets.

@kikers25 / Secret
Last active Jan 8, 2017

What would you like to do?
Unit tests with dates 1
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