@Test(description = "Handle request with URI exception",
        dependsOnMethods = "testHandleRequestWithIOException")
public void testHandleRequestWithURIException() throws Exception {

    TestUtils.resetSystemProperties();
    HashMap<String, String> transportHeaders = new HashMap<>();
    transportHeaders.put(AuthConstants.MDM_SIGNATURE, "some cert");
    AuthenticationHandler handler = new AuthenticationHandler();
    boolean response = handler.handleRequest(createSynapseMessageContext("<empty/>", this.synapseConfiguration,
            transportHeaders, "https://test.com/testservice/api/testdevice"));
    Assert.assertFalse(response);
    TestUtils.setSystemProperties();
}