@@ -0,0 +1,1526 @@
+package com.predic8.membrane.starter.dsl;%0A%0Aimport com.predic8.membrane.core.config.Path;%0Aimport com.predic8.membrane.core.rules.ServiceProxy;%0Aimport org.assertj.core.api.Condition;%0Aimport org.junit.jupiter.api.BeforeEach;%0Aimport org.junit.jupiter.api.DisplayName;%0Aimport org.junit.jupiter.api.Test;%0A%0Aimport static org.assertj.core.api.Assertions.assertThat;%0Aimport static org.assertj.core.api.Assertions.tuple;%0A%0A%0A@DisplayName(%22A MatcherSpecification%22)%0Apublic class MatcherSpecificationTests %7B%0A    private ServiceProxy serviceProxy;%0A    private MatcherSpecification matcherSpecification;%0A%0A    @BeforeEach%0A    public void setUp() %7B%0A        serviceProxy = new ServiceProxy();%0A        matcherSpecification = new MatcherSpecification(serviceProxy);%0A    %7D%0A%0A    @Test%0A    @DisplayName(%22should set the method on the service proxy%22)%0A    public void testSetMethod() %7B%0A        matcherSpecification.method(%22GET%22);%0A%0A        assertThat(serviceProxy.getMethod()).isEqualTo(%22GET%22);%0A    %7D%0A%0A    @Test%0A    @DisplayName(%22should set the path prefix on the service proxy%22)%0A    public void testSetPathPrefix() %7B%0A        matcherSpecification.pathPrefix(%22/api/%22);%0A%0A        assertThat(serviceProxy.getPath()).isEqualToComparingFieldByField(new Path(false, %22/api%22));%0A    %7D%0A%0A    @Test%0A    @DisplayName(%22should set the path regex on the service proxy%22)%0A    public void testSetPathRegex() %7B%0A        matcherSpecification.pathRegex(%22%5E/api/.*$%22);%0A%0A        assertThat(serviceProxy.getPath()).isEqualToComparingFieldByField(new Path(true, %22%5E/api/.*$%22));%0A    %7D%0A%7D

Add MatcherSpecificationTests