@Test
public void approveArtifact(){

    final DbArtifact artifact = new DbArtifact();
    artifact.setExtension("extensionTest");
    ExtensionFilter filter = new ExtensionFilter(artifact.getExtension());
    assertTrue(filter.filter(artifact));
    filter = new ExtensionFilter("test");
    assertFalse(filter.filter(artifact));
}