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
[user] | |
name = <User Here> | |
email = <Email Here> | |
[credential] | |
helper = osxkeychain | |
[color] | |
ui = auto | |
grep = auto | |
interactive = auto | |
[color "branch"] |
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() | |
} |
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 testParseDateX() { | |
val date = givenDateInFormatX() | |
val result = whenParsed(date) | |
thenDateIsInFormatY(result) | |
} |