Instantly share code, notes, and snippets.

What would you like to do?
Unit tests with dates 6
public boolean isBirthDay() {
Date today = getDate();
// ...
return false;
protected Date getDate() {
return new Date();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment