Improved: Check Map equality in ‘MultivaluedMapContextTests’ The equality between two maps is defined by the presence of the same set of entries in both maps, so checking equality of the maps is equivalent to checking directly their entries.