Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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