public function test_small_integer() { $this->dbal->shouldReceive('addColumn')->with('column', 'smallint', ['autoIncrement' => false, 'unsigned' => false]); $this->table->smallInteger('column'); $this->dbal->shouldReceive('addColumn')->with('column', 'smallint', ['autoIncrement' => true, 'unsigned' => true]); $this->table->smallInteger('column', true, true); }