Siqi Guo
Siqi Guo
Jun 22, 2018 · 1 min read

Sorry for the late reply. Is that an issue of the library that you use to inject your dependencies? With your mocking framework you should be able to mock classes the same way you mock interfaces. By using Toothpick, you can install mock implementations for all the dependencies, classes or interfaces.

Siqi Guo

Written by

Siqi Guo

Android Software Engineer

More From Medium

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade