@Test public void testUriBlacklistExactMatch() throws Exception { RecordedHttpRequest recordedHttpRequest1 = new RecordedHttpRequest(null, new URI("http: RecordedHttpRequest recordedHttpRequest2 = new RecordedHttpRequest(null, new URI("http: MatchRule matchRule = MatchRuleUtils.matchUriWithQueryBlacklist(new HashSet<>()); Assert.assertTrue(matchRule.test(recordedHttpRequest1, recordedHttpRequest2)); }
public static MatchRule matchUriWithQueryBlacklist(Set<String> blackList) { return new MatchUriWithQueryTransform(new MatchRuleBlacklistTransform(blackList)); }
MatchRuleUtils { public static MatchRule matchUriWithQueryBlacklist(Set<String> blackList) { return new MatchUriWithQueryTransform(new MatchRuleBlacklistTransform(blackList)); } }
MatchRuleUtils { public static MatchRule matchUriWithQueryBlacklist(Set<String> blackList) { return new MatchUriWithQueryTransform(new MatchRuleBlacklistTransform(blackList)); } private  MatchRuleUtils(); }
MatchRuleUtils { public static MatchRule matchUriWithQueryBlacklist(Set<String> blackList) { return new MatchUriWithQueryTransform(new MatchRuleBlacklistTransform(blackList)); } private  MatchRuleUtils(); static MatchRule matchEntireRequest(); static MatchRule matchMethodUri(); static MatchRule matchMethodBodyUri(); static MatchRule matchMethodUriBodyWithAnyBoundary(); static MatchRule matchUriWithQueryWhitelist(Set<String> whiteList); static MatchRule matchUriWithQueryBlacklist(Set<String> blackList); static MatchRule matchHeadersWithWhitelist(Set<String> whiteList); static MatchRule matchHeadersWithBlacklist(Set<String> blackList); static MatchRule matchBodyPostParametersWithWhitelist(Set<String> whiteList); static MatchRule matchBodyPostParametersWithBlacklist(Set<String> blackList); }
MatchRuleUtils { public static MatchRule matchUriWithQueryBlacklist(Set<String> blackList) { return new MatchUriWithQueryTransform(new MatchRuleBlacklistTransform(blackList)); } private  MatchRuleUtils(); static MatchRule matchEntireRequest(); static MatchRule matchMethodUri(); static MatchRule matchMethodBodyUri(); static MatchRule matchMethodUriBodyWithAnyBoundary(); static MatchRule matchUriWithQueryWhitelist(Set<String> whiteList); static MatchRule matchUriWithQueryBlacklist(Set<String> blackList); static MatchRule matchHeadersWithWhitelist(Set<String> whiteList); static MatchRule matchHeadersWithBlacklist(Set<String> blackList); static MatchRule matchBodyPostParametersWithWhitelist(Set<String> whiteList); static MatchRule matchBodyPostParametersWithBlacklist(Set<String> blackList);  }