N
Size: a a a
N
N
W
N
D
D
@Test
fun `should refresh list after successful doc delete`(){
whenever(documentServiceMock.deleteDocument(any())).thenReturn(Completable.complete())
whenever(documentServiceMock.getAllAutos()).thenReturn(any())
presenter.onDocDelete(RowDataModel(DocumentsRowType.AutoDoc, AutoRecord()))
verify(viewMock, atLeast(2)).populateAdapters(any())
}
W
subsribeBy
, ну да ладноN
thenReturn(any())
- это плохоN
N
W
N
W
W
N
N
W
W
W
W