@Test
public void testEmptyUserAgentToBeMatched() throws IOException {

    InputStream stream = this.getClass().getClassLoader().getResourceAsStream("empty-default-agent.json");
    String content = TestUtils.readFile(stream);
    assertTrue(ruleMatcher.canCrawl("*", "/users", content));
    assertTrue(ruleMatcher.canCrawl("abc", "/users", content));
    assertTrue(ruleMatcher.canCrawl("abc", "/", content));
    assertFalse(ruleMatcher.canCrawl("googlebot", "/hello", content));
    assertFalse(ruleMatcher.canCrawl("googlebot", "/", content));
}