@Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
            if (o == null || getClass() != o.getClass()) {
                return false;
            }
            User user = (User) o;
            return id == user.id
                    && Objects.equals(name, user.name);
        }
from {@link org.jdbi.v3.core.mapper.MapEntryMapperTest}
vavr/src/test/java/org/jdbi/v3/vavr/TestVavrMapCollectorWithDB.java