@Override
        public boolean equals(Object o) {
            if (this == o) return true;
            if (o == null || getClass() != o.getClass()) return false;

            BeanWithBoolean that = (BeanWithBoolean) o;

            if (bool != that.bool) return false;
            return !(boolObj != null ? !boolObj.equals(that.boolObj) : that.boolObj != null);

        }