@Test
public void testGetMediaInfoIdDuplicated1() throws IOException, MediaWikiApiErrorException {

	Map<String, String> parameters = new HashMap<>();
	parameters.put("action", "query");
	parameters.put("format", "json");
	parameters.put("titles", "File:Cat.jpg|File:Cat.jpg");
	con.setWebResourceFromPath(parameters, getClass(),
			"/query-Cat.jpg.json", CompressionType.NONE);
	Map<String, MediaInfoIdValue> result = wdf.getMediaInfoIdsByFileName("Cat.jpg", "Cat.jpg");
	assertEquals(result.size(), 1);
	assertEquals("M32455073", result.get("Cat.jpg").getId());
}