/**
* @throws ParseException
*/
@Test
public void testParse() throws ParseException {
Attributes attributes = new Attributes(RPClass.getBaseRPObjectDefault());
AttributesParser parser = new AttributesParser(": [a=b][c=d][e=\\\\f][g=h\\]abcd][i=\\]]", attributes);
parser.parse();
assertThat(attributes.get("a"), equalTo("b"));
assertThat(attributes.get("c"), equalTo("d"));
assertThat(attributes.get("e"), equalTo("\\f"));
assertThat(attributes.get("g"), equalTo("h]abcd"));
assertThat(attributes.get("i"), equalTo("]"));
}