@@ -0,0 +1,1222 @@
+package fi.evident.apina.model;%0A%0Aimport fi.evident.apina.model.type.ApiType;%0Aimport org.hamcrest.Description;%0Aimport org.hamcrest.Matcher;%0Aimport org.hamcrest.TypeSafeMatcher;%0A%0Aimport java.util.Collection;%0A%0Aimport static org.hamcrest.Matchers.containsInAnyOrder;%0A%0Apublic final class ModelMatchers %7B%0A%0A    private ModelMatchers() %7B%0A    %7D%0A%0A    public static Matcher%3CPropertyDefinition%3E property(String name, ApiType type) %7B%0A        return new TypeSafeMatcher%3CPropertyDefinition%3E() %7B%0A            @Override%0A            protected boolean matchesSafely(PropertyDefinition item) %7B%0A                return name.equals(item.getName()) && type.equals(item.getType());%0A            %7D%0A%0A            @Override%0A            public void describeTo(Description description) %7B%0A                description.appendText(%22PropertyDefinition%7Bname=%22)%0A                        .appendValue(name)%0A                        .appendText(%22, type=%22)%0A                        .appendValue(type)%0A                        .appendText(%22%7D%22);%0A            %7D%0A        %7D;%0A    %7D%0A%0A    @SafeVarargs%0A    public static Matcher%3C? super Collection%3CPropertyDefinition%3E%3E hasProperties(Matcher%3CPropertyDefinition%3E... matchers) %7B%0A        return containsInAnyOrder(matchers);%0A    %7D%0A%7D%0A

Add Hamcrest matchers for model