@Test
public void testIsSpiderString()
{

    String candidate;
    candidate = "192.168.2.1";
    assertTrue(candidate + " did not match IP patterns",
            spiderDetectorService.isSpider(candidate, null, null, null));
    candidate = NOT_A_BOT_ADDRESS;
    assertFalse(candidate + " matched IP patterns",
            spiderDetectorService.isSpider(candidate, null, null, null));
}