@Test
public void testNeccesaryRemoveArtifact() throws IOException {

    List<ArtifactSelector> list = new ArrayList<>();
    list.add(selector);
    artifacts.add(artifact);
    config.setRemoveArtifact(list);
    TemporaryFolder folder = new TemporaryFolder();
    folder.create();
    ConfigurationChecker checker = new ConfigurationChecker(reporter, config);
    checker.process(artifacts);
    List<ProcessingMessage> messageList = reporter.getProcessingReport().getMessageList();
    assertThat(messageList).isEmpty();
}