mockito - don't match maps and functions as equal