@Test
public void testGetAllUrls() throws Exception {

  InstantAppUrlFinder finder = new InstantAppUrlFinder(myResolver, createDummyValidData());
  assertEquals(4, finder.getAllUrls().size());
  Collection<String> urls = finder.getAllUrls();
  assertThat(urls, CoreMatchers.hasItem(CoreMatchers.anyOf(
    CoreMatchers.equalTo("scheme1://domainA/pathA"),
    CoreMatchers.equalTo("scheme2://domainA/pathA"))));
  assertThat(urls, CoreMatchers.hasItem("scheme1://domainB/pathPatternB"));
  assertThat(urls, CoreMatchers.hasItem(CoreMatchers.anyOf(
    CoreMatchers.equalTo("scheme1://domainC/pathPrefixC/example"),
    CoreMatchers.equalTo("scheme2://domainC/pathPrefixC/example"))));
  assertThat(urls, CoreMatchers.hasItem(CoreMatchers.anyOf(
    CoreMatchers.equalTo("scheme1://domainD/"),
    CoreMatchers.equalTo("scheme2://domainD/"))));
}