@Test
public void approveArtifact(){

    final DbArtifact artifact = new DbArtifact();
    artifact.setGroupId("test.test.test");
    artifact.setArtifactId("test");
    artifact.setVersion("1.0.0-8");
    GavcFilter filter = new GavcFilter(artifact.getGavc());
    assertTrue(filter.filter(artifact));
    filter = new GavcFilter("test");
    assertFalse(filter.filter(artifact));
}