@Test
public void approveArtifact(){

    final DbArtifact artifact = new DbArtifact();
    artifact.setArtifactId("artifactIdTest");
    ArtifactIdFilter filter = new ArtifactIdFilter(artifact.getArtifactId());
    assertTrue(filter.filter(artifact));
    filter = new ArtifactIdFilter("test");
    assertFalse(filter.filter(artifact));
}