/**
  * Get SQL Instruction Prepared Statements
  * Arguments to be used in Prepared Statement
  *
  * @return array
  */
 public function getStatement()
 {
     $this->execute();
     return $this->builder->getValues();
 }
 /**
  * @test
  */
 public function itShouldWrapColumnAlias()
 {
     $query = new Select('user', array('userId' => 'user_id', 'name' => 'name'));
     $expected = 'SELECT `user`.`user_id` AS `userId`, `user`.`name` AS `name` FROM `user`';
     $this->assertSame($expected, $this->writer->write($query));
 }