public void testGetPrintErrorPage() {
VelocityErrorPage template = new VelocityErrorPage(props);
HttpRequest request = new BasicHttpRequest("GET", "http://localhost/test");
HttpResponse response = new BasicHttpResponse(
new BasicStatusLine(new ProtocolVersion("HTTP",1,1), 404, "Not Found"));
HttpException exception = new NotFoundException();
String page = template.getErrorPage(request, response, exception);
assertNotNull(page);
}