Exemplo n.º 1
0
 /**
  * @covers Model::isIntegerType
  */
 public function testIsIntegerType()
 {
     $types = array(Model::COLUMN_TYPE_SMALLINT, Model::COLUMN_TYPE_TINYINT, Model::COLUMN_TYPE_INTEGER, Model::COLUMN_TYPE_BIGINT, Model::COLUMN_TYPE_BOOLEAN, Model::COLUMN_TYPE_INTEGER_TIMESTAMP);
     foreach ($types as $type) {
         $this->assertTrue(TestModel::isIntegerType($type));
     }
 }