/**
  * @test
  * @expectedException \Doctrineum\Boolean\Exceptions\UnexpectedValueToConvert
  */
 public function callback_to_php_value_cause_exception()
 {
     BooleanEnum::getEnum(function () {
     });
 }
 /**
  * @param bool|BooleanInterface $enumValue
  * @throws \Doctrineum\Scalar\Exceptions\UnexpectedValueToEnum
  */
 protected function __construct($enumValue)
 {
     parent::__construct($enumValue);
     $this->noticeChange();
 }