/** * @expectedException \InvalidArgumentException * @expectedExceptionMessage No table provided for method PewDatabase::update() */ public function testUpdateWithoutSpecifyingTable() { $db = new Database($this->pdo); $db->set(['name' => 'Stabbing Westward'])->where(['id' => 5])->update(); }