@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        RoleImpl role = (RoleImpl) o;
        return readOnly == role.readOnly &&
                Objects.equals(_id, role._id) &&
                Objects.equals(name, role.name) &&
                Objects.equals(permissions, role.permissions) &&
                Objects.equals(description, role.description);
    }
@Test
    public void testEquals() throws Exception {
        EqualsVerifier.forClass(RoleImpl.class)
            .suppress(Warning.NONFINAL_FIELDS)
            .verify();
    }