public void testProcessHttpException() {
final InputStream inStream = this.getClass().getClassLoader()
.getResourceAsStream("dummyData.xml");
final Context context = new StandardContext();
final Command com = new URLMatchCommand(null);
try {
context.setSource(new InputStreamReader(inStream, "UTF-8"));
com.process(context);
} catch (final ConfigurationException e1) {
fail("ConfigurationException thrown while waiting for HttpException");
LOGGER.error("Error occured in testProcess:", e1);
} catch (final UnsupportedEncodingException e) {
fail("Wrong Encoding thrown while waiting for HttpException");