Beispiel #1
0
 /**
  * @depends testFetchAllWithMode
  */
 public function testCall(DBALite_Statement $stmt)
 {
     $this->assertEquals(8, $stmt->columnCount());
     return $stmt;
 }
Beispiel #2
0
 /**
  * @depends testPrepareUpdate
  * @expectedException DBALite_Exception
  */
 public function testPrepareUpdateBadParams(DBALite_Statement $stmt)
 {
     $bad_data = array('QuantityPerUnit' => '15 - 825 g cans', 'UnitPrice' => 32.25, 'ProductID' => 4);
     $stmt->execute($bad_data);
 }