-
-
Save kikers25/ad22ff42e6ad65ef943f482dae71d42e to your computer and use it in GitHub Desktop.
Unit tests with dates 6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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