hasSize(0) -> isEmpty()
This commit is contained in:
parent
fdc133ea77
commit
4ec096511b
1 changed files with 1 additions and 1 deletions
|
|
@ -408,7 +408,7 @@ class VoiceMessageComposerPresenterTest {
|
||||||
val finalState = awaitItem()
|
val finalState = awaitItem()
|
||||||
assertThat(finalState.voiceMessageState).isEqualTo(aPreviewState(isSending = true))
|
assertThat(finalState.voiceMessageState).isEqualTo(aPreviewState(isSending = true))
|
||||||
sendVoiceMessageResult.assertions().isNeverCalled()
|
sendVoiceMessageResult.assertions().isNeverCalled()
|
||||||
assertThat(analyticsService.trackedErrors).hasSize(0)
|
assertThat(analyticsService.trackedErrors).isEmpty()
|
||||||
voiceRecorder.assertCalls(started = 1, stopped = 1, deleted = 0)
|
voiceRecorder.assertCalls(started = 1, stopped = 1, deleted = 0)
|
||||||
|
|
||||||
testPauseAndDestroy(finalState)
|
testPauseAndDestroy(finalState)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue