@Override
  public boolean test(final String resourceName) {
    return resourceName.matches(blackList);
  }
@Test
  public void shouldIgnoreLinesStartingWithHash() throws IOException {
    writeBlacklist(ImmutableList.<String>builder().add("#", "java.util", "#").build());
    final Blacklist blacklist = new Blacklist(this.blacklistFile);
    assertFalse(blacklist.test("java.lang.String"));
    assertTrue(blacklist.test("java.util.Map"));
  }