https://kotlinlang.org logo
s

sendoav

01/16/2020, 2:23 PM
Copy code
@Test
    fun `on do transfer and successfully completed should hide animated loading directly and navigate to the transfers confirmation in the bank transfers process`() {
        
            presenter.doTransfer()

            val successCaptor = slot<() -> Unit>()
            verify {runTest {   doTransferUseCase.execute(capture(successCaptor)) }}
            successCaptor.captured()

            verify { view.hideAnimatedLoadingDirectly() }

    }