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

	List<String> entityIds = Arrays.asList("Q6", "Q42", "P31", "Q1");
	Map<String, String> parameters1 = new HashMap<>();
	setStandardParameters(parameters1);
	parameters1.put("ids", "Q6|Q42|P31");
	Map<String, String> parameters2 = new HashMap<>();
	setStandardParameters(parameters2);
	parameters2.put("ids", "Q1");
	con.setWebResourceFromPath(parameters1, this.getClass(),
			"/wbgetentities-Q6-Q42-P31.json", CompressionType.NONE);
	con.setWebResourceFromPath(parameters2, this.getClass(),
			"/wbgetentities-Q1.json", CompressionType.NONE);
	wdf.maxListSize = 3;
	Map<String, EntityDocument> results = wdf.getEntityDocuments(entityIds);
	assertEquals(3, results.size());
	assertFalse(results.containsKey("Q6"));
	assertTrue(results.containsKey("Q1"));
	assertTrue(results.containsKey("P31"));
	assertTrue(results.containsKey("Q42"));
}