Ejemplo n.º 1
0
 protected function defineStatements()
 {
     $this->statements = StatementFactory::instantiate($this->rawStatements);
 }
 /**
  * @expectedException        Highideas\SqlToMigration\Exceptions\InvalidQueryException
  * @expectedExceptionMessage Invalid Query.
  */
 public function testInstantiateShouldGenerateInvalidQueryExceptionWhenEmptyStringInformed()
 {
     StatementFactory::instantiate('');
 }