public function testAddingDouble() { $blueprint = new Blueprint('users'); $blueprint->double('foo', 5, 2); $statements = $blueprint->toSql($this->getConnection(), $this->getGrammar()); $this->assertEquals(1, count($statements)); $this->assertEquals('alter table users add ( foo number(5, 2) not null )', $statements[0]); }