Skip to content

Instantly share code, notes, and snippets.

@andrzejchm
Last active June 29, 2016 12:20
Show Gist options
  • Save andrzejchm/3557a97235834b123160c2d17cc7615b to your computer and use it in GitHub Desktop.
Save andrzejchm/3557a97235834b123160c2d17cc7615b to your computer and use it in GitHub Desktop.
@Test
public void testPlayground() throws Exception {
RESTMockServer.whenGET(RequestMatchers.pathEndsWith("users/andrzejchm")).thenReturnFile(
"users/andrzejchm.json");
//launches activity with default intent
rule.launchActivity(null);
Thread.sleep(10000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment