public function checkCondition($value)
 {
     if (parent::checkCondition($value)) {
         return true;
     }
     if (!TypeCheck::isInt($value)) {
         return false;
     } else {
         $value = (int) $value;
         return $value >= $this->min && $value <= $this->max;
     }
 }
 /**
  * @dataProvider checkConditionProvider
  * @covers empire\framework\db\schema\type\DisplayLengthCondition::checkCondition
  */
 public function testCheckCondition($nullAllowed, $value, $result)
 {
     $condition = new TypeLengthCondition($nullAllowed);
     $this->assertSame($result, $condition->checkCondition($value));
 }