Created
July 14, 2022 22:19
-
-
Save beyondxscratch/da45394eaf80e8a3c6ad84359e70a8ef to your computer and use it in GitHub Desktop.
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
@ParameterizedTest | |
@CsvSource({ | |
"2021-01-01, JANUARY", | |
"2020-04-15, APRIL" | |
}) | |
void a_test_with_converters(LocalDate date, Month expectedMonth) { | |
assertEquals(expectedMonth, date.getMonth()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment