@Test
public void testProcessImgTagWithAttributesAndSimpleImageURL()
	throws Exception {

	DocumentHTMLProcessor documentHTMLProcessor =
		new DocumentHTMLProcessor();
	String originalHTML = StringBundler.concat(
		"<html><head><title>test-title</title></head><body>",
		"<img class=\"test\" src=\"/image",
		"/image_gallery?uuid=f17b2a6b-70ee-4121-ae6e-61c22ff47",
		"&groupId=807138&t=12798459506\"/></body></html>");
	InputStream originalInputStream = new ByteArrayInputStream(
		originalHTML.getBytes());
	InputStream processedInputStream = documentHTMLProcessor.process(
		originalInputStream);
	String processedHTML = IOUtils.toString(processedInputStream, "UTF-8");
	String expectedHTML = StringBundler.concat(
		"<html><head><title>test-title</title></head><body>",
		"<img class=\"test\" src=\"/image",
		"/image_gallery?uuid=f17b2a6b-70ee-4121-ae6e-61c22ff47",
		"&groupId=807138&t=12798459506&auth_token=authtoken\"/>",
		"</body></html>");
	Assert.assertEquals(expectedHTML, processedHTML);
}