/** * @depends testFetchAllWithMode */ public function testCall(DBALite_Statement $stmt) { $this->assertEquals(8, $stmt->columnCount()); return $stmt; }
/** * @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); }