@Test
public void should_convert_string_to_map() {

    String mapString = "{a=1, b=2}";
    Map<String, String> map = Utils.convert(mapString);
    assertThat(map.size(), is(2));
    assertThat(map.get("a"), is("1"));
    assertThat(map.get("b"), is("2"));
}