@Override
  public boolean test(final String resourceName) {
    return resourceName.matches(blackList);
  }
@Test
  public void shouldBlackListClassesMatching() throws IOException {
    writeBlacklist(ImmutableList.of("java.lang.Process"));
    final Blacklist blacklist = new Blacklist(this.blacklistFile);
    assertTrue(blacklist.test("java.lang.Process"));
    assertTrue(blacklist.test("java.lang.ProcessBuilder"));
    assertTrue(blacklist.test("java.lang.ProcessEnvironment"));
    assertFalse(blacklist.test("java.lang.Class"));
  }