@@ -0,0 +1,1625 @@
+package de.retest.recheck.review;%0A%0Aimport static de.retest.recheck.review.counter.NopCounter.getInstance;%0Aimport static org.assertj.core.api.Assertions.assertThat;%0A%0Aimport org.junit.jupiter.api.Test;%0Aimport org.mockito.Mockito;%0A%0Aimport de.retest.recheck.ui.Path;%0Aimport de.retest.recheck.ui.descriptors.Element;%0Aimport de.retest.recheck.ui.descriptors.IdentifyingAttributes;%0Aimport de.retest.recheck.ui.descriptors.MutableAttributes;%0Aimport de.retest.recheck.ui.diff.AttributeDifference;%0A%0Aclass GlobalIgnoreApplierTest %7B%0A%0A%09private static class some %7B%0A%09%7D%0A%0A%09@Test%0A%09void ignoreElement_should_add_filter() %7B%0A%09%09final GlobalIgnoreApplier cut = GlobalIgnoreApplier.create( getInstance() );%0A%0A%09%09final Element element = Element.create( %22myRetestId%22, Mockito.mock( Element.class ),%0A%09%09%09%09IdentifyingAttributes.create( Path.fromString( %22/other%5B1%5D/some%5B1%5D%22 ), some.class ),%0A%09%09%09%09new MutableAttributes().immutable() );%0A%0A%09%09cut.ignoreElement( element );%0A%0A%09%09assertThat( cut.persist().getIgnores().toString() ).isEqualTo( %22%5Bmatcher: retestid=myRetestId%5D%22 );%0A%09%7D%0A%0A%09@Test%0A%09void ignoreAttribute_should_add_filter() %7B%0A%09%09final GlobalIgnoreApplier cut = GlobalIgnoreApplier.create( getInstance() );%0A%0A%09%09final Element element = Element.create( %22myRetestId%22, Mockito.mock( Element.class ),%0A%09%09%09%09IdentifyingAttributes.create( Path.fromString( %22/other%5B1%5D/some%5B1%5D%22 ), some.class ),%0A%09%09%09%09new MutableAttributes().immutable() );%0A%0A%09%09cut.ignoreAttribute( element, new AttributeDifference( %22myAttribute%22, %22expected%22, %22actual%22 ) );%0A%0A%09%09assertThat( cut.persist().getIgnores().toString() )%0A%09%09%09%09.isEqualTo( %22%5Bmatcher: retestid=myRetestId, attribute: myAttribute%5D%22 );%0A%09%7D%0A%7D%0A

Add test for the changed behavior