@Test
public void testAllWildcardPattern() throws Exception {

    InputStream stream = this.getClass().getClassLoader().getResourceAsStream("wildcard-disallow-all.json");
    String content = TestUtils.readFile(stream);
    assertFalse(ruleMatcher.canCrawl("*", "/hello?user=javi", content));
    assertFalse(ruleMatcher.canCrawl("*", "/disallow/this/rule?user=javi", content));
    assertTrue(ruleMatcher.canCrawl("007", "/test?user=javi", content));
    assertTrue(ruleMatcher.canCrawl("007", "/test/allow/this/hello", content));
}