@Test
public void testEncodedDescription() {

	when(
		URLCodec.encodeURL(Mockito.eq("desc:;"))
	).thenReturn(
		"desc%3A%3B"
	);
	when(
		_http.decodeURL(Mockito.eq("desc%3A%3B"))
	).thenReturn(
		"desc:;"
	);
	AMImageConfigurationEntry amImageConfigurationEntry =
		_amImageConfigurationEntryParser.parse(
			"test:desc%3A%3B:12345:max-height=100;max-width=200");
	Assert.assertEquals("test", amImageConfigurationEntry.getName());
	Assert.assertEquals(
		"desc:;", amImageConfigurationEntry.getDescription());
	Assert.assertEquals("12345", amImageConfigurationEntry.getUUID());
	Map<String, String> properties =
		amImageConfigurationEntry.getProperties();
	Assert.assertEquals("100", properties.get("max-height"));
	Assert.assertEquals("200", properties.get("max-width"));
	Assert.assertEquals(properties.toString(), 2, properties.size());
}