Skip to content

Instantly share code, notes, and snippets.

@maiatoday
Created January 26, 2018 13:16
Show Gist options
  • Save maiatoday/0f951a7e0b06500acaffc702ef408689 to your computer and use it in GitHub Desktop.
Save maiatoday/0f951a7e0b06500acaffc702ef408689 to your computer and use it in GitHub Desktop.
intendedTest
intended(allOf(
hasComponent(StarActivity::class.java.name),
hasExtras(
hasEntry(StarActivity.EXTRA_PARAMS, allOf(isA(ContrivedParams::class.java),
equalTo(expectedParams))))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment