Last active
May 18, 2022 18:26
-
-
Save phellipealexandre/35cab1af852685488dca3852422dabbe 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 `Update registered note count when registering a new note in empty repository`() { | |
val dummyNote = //Dummy | |
noteRepository.registerNote(dummyNote) //Just filling the parameter, the double's content is not relevant for the test | |
val allNotes = noteRepository.getNotes() | |
assertEquals(expected = 1, actual = allNotes.size) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment