@Test
public void getHeaderFields() {

	Map<?,?> map = this.connection.getHeaderFields();
	assertNotNull(map);
	assertEquals(3, map.size());
	assertEquals(Collections.singletonList("text/plain"), map.get("content-type"));   //$NON-NLS-1$ //$NON-NLS-2$
	assertEquals(Collections.singletonList("25"), map.get("content-length"));   //$NON-NLS-1$ //$NON-NLS-2$
	assertNotNull(map.get("last-modified"));  //$NON-NLS-1$
	assertNull(map.get("expires"));  //$NON-NLS-1$
}