@@ -0,0 +1,1111 @@
+package com.github.helpermethod.membrane.starter.dsl.interceptors;%0A%0Aimport com.predic8.membrane.core.interceptor.rewrite.RewriteInterceptor.Mapping;%0Aimport org.junit.jupiter.api.DisplayName;%0Aimport org.junit.jupiter.api.Test;%0A%0Aimport java.util.ArrayList;%0A%0Aimport static com.predic8.membrane.core.interceptor.rewrite.RewriteInterceptor.Type.REDIRECT_TEMPORARY;%0Aimport static org.assertj.core.api.Assertions.assertThat;%0Aimport static org.assertj.core.api.Assertions.tuple;%0A%0A@DisplayName(%22A RewriterSpecification%22)%0Aclass RewriterSpecificationTests %7B%0A%0A    @DisplayName(%22should add a mapping to the list of rewrite interceptor mappings%22)%0A    @Test%0A    void testMap() %7B%0A        ArrayList%3CMapping%3E mappings = new ArrayList%3C%3E();%0A        RewriterSpecification rewriterSpecification = new RewriterSpecification(mappings);%0A        rewriterSpecification.map(%22http://www.predic8.de%22, %22http://www.p8.de%22);%0A%0A        assertThat(mappings).hasSize(1)%0A                            .extracting(%22from%22, %22to%22, %22do%22)%0A                            .contains(tuple(%22http://www.predic8.de%22, %22http://www.p8.de%22, REDIRECT_TEMPORARY));%0A    %7D%0A%7D

Add RewriterSpecification tests