コード例 #1
0
ファイル: PDOStatementTest.php プロジェクト: crate/crate-pdo
 /**
  * @covers ::bindParam
  */
 public function testBindParamInvalidPosition()
 {
     $initial = 'foo';
     $expected = 'bar';
     $this->callbackCallParams = [$this->statement, static::SQL, [0 => $expected]];
     $this->callbackReturnValue = $this->getPopulatedCollection();
     $this->setExpectedException('Crate\\PDO\\Exception\\UnsupportedException');
     $this->statement->bindParam(0, $initial);
 }