Last active
July 14, 2017 19:55
-
-
Save thalescm/d7a76a7459c6524438c2afdb0d67fd83 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
@Test | |
fun testGivenDateInFormatX_WhenParsed_ShouldBeInFormatY() { | |
val date = dateInFormatX | |
val parserInTest = CustomDateParser() | |
val expectedDate = parserInTest.parse(date) | |
assertThat(expectedDate).isInFormatY() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment