@Test
public void testResolveShouldNotResolveWithoutInvalidRegexSyntax() throws Exception {

    //GIVEN
    givenRequestWithUrl("www.typeless.com/urls/resolvable.html");
    parameters = new ParameterList();
    parameters.addParameter(new Parameter("type:InvalidPattern", "url:["));
    //WHEN
    String resolvedType = underTest.resolve(request, parameters);
    //THEN
    assertEquals(resolvedType, "");
}