@Test
public void shouldParseNonValidString() throws MalformedInputException {

    String data = "/";
    Parser<Map<String, String>> parser = new QueryStringParser();
    Map<String, String> parameters = parser.parse(data);
    assertThat(parameters.size(), is(0));
}