@Test public void deepLinkEmptyArgumentNoMatch() { String deepLinkArgument = DEEP_LINK_EXACT_HTTPS + "/users/{id}/posts"; NavDeepLink deepLink = new NavDeepLink(deepLinkArgument); assertThat(deepLink.matches( Uri.parse(deepLinkArgument.replace("{id}", ""))), is(false)); }
boolean matches(@NonNull Uri deepLink) { return mPattern.matcher(deepLink.toString()).matches(); }
NavDeepLink { boolean matches(@NonNull Uri deepLink) { return mPattern.matcher(deepLink.toString()).matches(); } }
NavDeepLink { boolean matches(@NonNull Uri deepLink) { return mPattern.matcher(deepLink.toString()).matches(); } NavDeepLink(@NonNull String uri); }
NavDeepLink { boolean matches(@NonNull Uri deepLink) { return mPattern.matcher(deepLink.toString()).matches(); } NavDeepLink(@NonNull String uri);  }
NavDeepLink { boolean matches(@NonNull Uri deepLink) { return mPattern.matcher(deepLink.toString()).matches(); } NavDeepLink(@NonNull String uri);   }