Ejemplo n.º 1
0
 public static function validate(array $data = null)
 {
     if (CheckArraySizeModel::checkSize($data) >= self::$minimalValidateTableSize) {
         return CheckTypeModel::checkType($data);
     }
     return Data\FalseData::set();
 }
 public function testCheckSizeIsFalse()
 {
     $this->current_result = Models\CheckArraySizeModel::checkSize($this->array, $this->second_size);
     $this->assertFalse($this->current_result);
 }