@@ -0,0 +1,1681 @@
+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;%0Aimport org.monospark.spongematchers.parser.base.BaseMatcherParser;%0A%0Apublic class BaseElementParserTest %7B%0A%0A    @Test%0A    public void parseElements_BooleanMatcher_ReturnsCorrectStringElement() throws SpongeMatcherParseException %7B%0A        String input = %22true%22;%0A        %0A        verifyStringElement(input, BaseMatcherParser.BOOLEAN);%0A    %7D%0A    %0A    @Test%0A    public void parseElements_IntegerMatcher_ReturnsCorrectStringElement() throws SpongeMatcherParseException %7B%0A        String input = %2212%22;%0A        %0A        verifyStringElement(input, BaseMatcherParser.INTEGER);%0A    %7D%0A    %0A    @Test%0A    public void parseElements_FloatingPointMatcher_ReturnsCorrectStringElement() throws SpongeMatcherParseException %7B%0A        String input = %221.5f%22;%0A        %0A        verifyStringElement(input, BaseMatcherParser.FLOATING_POINT);%0A    %7D%0A    %0A    @Test%0A    public void parseElements_StringMatcher_ReturnsCorrectStringElement() throws SpongeMatcherParseException %7B%0A        String input = %22'test'%22;%0A        %0A        verifyStringElement(input, BaseMatcherParser.STRING);%0A    %7D%0A    %0A    private void verifyStringElement(String input, BaseMatcherParser%3C?%3E parser) throws SpongeMatcherParseException %7B%0A        StringElement element = StringElementParser.parseStringElement(input);%0A        %0A        BaseElement%3C?%3E base = (BaseElement%3C?%3E) element;%0A        assertThat(base.getString(), equalTo(input));%0A        assertThat(base.getParser(), equalTo(parser));%0A    %7D%0A%7D%0A

Add unit tests for base element parsing