@Test
public void approveArtifact(){

    final DbArtifact artifact = new DbArtifact();
    artifact.setGroupId("groupIdTest");
    GroupIdFilter filter = new GroupIdFilter(artifact.getGroupId());
    assertTrue(filter.filter(artifact));
    filter = new GroupIdFilter("test");
    assertFalse(filter.filter(artifact));
}