@Test
public void approveArtifact(){

    final DbArtifact artifact = new DbArtifact();
    artifact.setType("typeTest");
    TypeFilter filter = new TypeFilter(artifact.getType());
    assertTrue(filter.filter(artifact));
    filter = new TypeFilter("test");
    assertFalse(filter.filter(artifact));
}