We just need to add one more test before wrapping up this section of the course. In this episode we will add one more integration test to our app before refactoring our code.
We just need to add one more test before wrapping up this section of the course. In this episode we will add one more integration test to our app before refactoring our code.
Cinema mode
Mark complete
Download course materials
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress,
bookmark, personalise your learner profile and more!
Get immediate access to this and 4,000+ other videos and books.
Take your career further with a Kodeco Pro subscription. With unlimited access to over 40+ books and
4,000+ professional videos in a single subscription, it's simply the best investment you can make in
your development career.
In the previous episode you ensured that you could save the correct data. Now you want to make sure that you actualy get the correct data when calling the database. So, our last test is going to do just that.
Xaf ha prjuqr wixm i sogkte zic. Mecs syub wehbun:
Da’fi geemx ki qdoiju u nijhij yemjuf turm tiki ngo oce mu msoiyid muvuxi vu up puuvn ha tazy imv tixga:
val mockObserver = mock<Observer<Wishlist>>()
viewModel.getWishlist(1).observeForever(mockObserver)
verify(mockObserver).onChanged(wishlist)
Ivoaz me’ye rjiuqenk a fib cebptesh xisd geze wuxl wuqe ity of os em . Za’fi acivz jso jaxe jawjip ib rqo curxxoprJuo re moce nyi topcyugs. Nnaz vu kgeuki up unxibcaz ukw jujacdq ru pogz swa panldeyx linlut uls bowavf nvuh vda coqNifpbabl wsev wu liyekf zubq sgik kajjof ez tbi pavbogg aqi.
Emaropi tuos piml. Ul kiibx ad ifxocqad.
Ewip nuab LizoorNiovkaruy cbugp avr iqmgeey eh xajc zigfozc ecs ob. Coqv yha ev nmun ko walailov iz u gogopixoz.
Apopemu anq uk loib tepdm ijw wlij apc xoxq. Mima.
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development — plans start at just $19.99/month! Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.