Add test for TimelineItemPollView

This commit is contained in:
Benoit Marty
2024-02-06 18:27:47 +01:00
parent 80c474e1a6
commit b25509a611
3 changed files with 103 additions and 0 deletions
@@ -31,6 +31,10 @@ class EventsRecorder<T>(
}
}
fun assertEmpty() {
assertThat(events).isEmpty()
}
fun assertSingle(event: T) {
assertList(listOf(event))
}