NEW: Foundational Tools in Android On-Demand Bootcamp!
Dive into Android development essentials with our latest beginner program. Learn at your pace with personalized support. From installation to Jetpack Compose, gain the skills you need for success!
Testing With MockK
Oct 15 2019 · Kotlin 1.3, macOS 10.14, Studio 3.4
Part 2: Advanced Mocking
09. Mock a Constructor
Episode complete
About this episode
If your app isn't using dependency injection, it can be challenging to stub and mock out objects. While not ideal, mocking constructors can help.
Instructors
Contributors
Instructor
Over 300 content creators. Join our team.
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress, bookmark, personalise your learner profile and more!
Create accountAlready a member of Kodeco? Sign in
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress, bookmark, personalise your learner profile and more!
Create accountAlready a member of Kodeco? Sign in
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress, bookmark, personalise your learner profile and more!
Create accountAlready a member of Kodeco? Sign in
Get immediate access to this and 4,000+ other videos and books.
Take your career further with a Kodeco Personal Plan. 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.
Learn more Already a subscriber? Sign in.