@@ -0,0 +1,2027 @@
+package org.monospark.spongematchers.parser.element;%0A%0Aimport static org.hamcrest.CoreMatchers.equalTo;%0Aimport static org.junit.Assert.assertThat;%0A%0Aimport org.junit.Test;%0Aimport org.monospark.spongematchers.parser.SpongeMatcherParseException;%0A%0Apublic class MapElementParserTest %7B%0A%0A    @Test%0A    public void parseElements_MapElementWithSingleEntry_ReturnsCorrectStringElement()%0A            throws SpongeMatcherParseException %7B%0A        String input = %22%7Btest:'test'%7D%22;%0A        %0A        StringElement element = StringElementParser.parseStringElement(input);%0A        %0A        MapElement map = (MapElement) element;%0A        BaseElement%3C?%3E base = (BaseElement%3C?%3E) map.getElement(%22test%22).get();%0A        assertThat(base.getString(), equalTo(%22'test'%22));%0A    %7D%0A    %0A    @Test%0A    public void parseElements_MapElementWithSingleEntryWithSpaces_ReturnsCorrectStringElement()%0A            throws SpongeMatcherParseException %7B%0A        String input = %22 %7B test  :  'test' %7D  %22;%0A        %0A        StringElement element = StringElementParser.parseStringElement(input);%0A        %0A        MapElement map = (MapElement) element;%0A        BaseElement%3C?%3E base = (BaseElement%3C?%3E) map.getElement(%22test%22).get();%0A        assertThat(base.getString(), equalTo(%22'test'%22));%0A    %7D%0A    %0A    @Test%0A    public void parseElements_MapElement_ReturnsCorrectStringElement() throws SpongeMatcherParseException %7B%0A        String input = %22%7Bfirsttest:'test1',secondtest:'test2',thirdtest:'test3'%7D%22;%0A        %0A        StringElement element = StringElementParser.parseStringElement(input);%0A        %0A        MapElement map = (MapElement) element;%0A        BaseElement%3C?%3E base1 = (BaseElement%3C?%3E) map.getElement(%22firsttest%22).get();%0A        assertThat(base1.getString(), equalTo(%22'test1'%22));%0A        BaseElement%3C?%3E base2 = (BaseElement%3C?%3E) map.getElement(%22secondtest%22).get();%0A        assertThat(base2.getString(), equalTo(%22'test2'%22));%0A        BaseElement%3C?%3E base3 = (BaseElement%3C?%3E) map.getElement(%22thirdtest%22).get();%0A        assertThat(base3.getString(), equalTo(%22'test3'%22));%0A    %7D%0A%7D%0A

Add unit tests for parsing map matchers