Marcin Oziemski
1 min readMay 29, 2018

--

One thing which i came across is, there need to be added:

“@Rule
@JvmField
val instantExecutorRule = InstantTaskExecutorRule()”

to test. Without that it crashes with:

“RuntimeException: Method getMainLooper in android.os.Looper not mocked.”

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Marcin Oziemski
Marcin Oziemski

Written by Marcin Oziemski

Senior Android and Flutter Developer. Working at Netguru.

No responses yet

Write a response