Add test for TimelineItemPollView

This commit is contained in:
Benoit Marty 2024-02-06 18:27:47 +01:00
parent a13862e7a9
commit 28f26b1aae
3 changed files with 103 additions and 0 deletions

View file

@ -31,6 +31,10 @@ class EventsRecorder<T>(
}
}
fun assertEmpty() {
assertThat(events).isEmpty()
}
fun assertSingle(event: T) {
assertList(listOf(event))
}