@Test
public void approveArtifact(){

    final DbArtifact artifact = new DbArtifact();
    artifact.setVersion("1.0.0");
    VersionFilter filter = new VersionFilter(artifact.getVersion());
    assertTrue(filter.filter(artifact));
    filter = new VersionFilter("test");
    assertFalse(filter.filter(artifact));
}