/** * test updating a ProductAlert that does not exist * **/ public function testUpdateInvalidProductAlert() { // create a Profile and try to update it without actually inserting it $productLocation = new ProductAlert(InventoryTextTest::INVALID_KEY, $this->product->getProductId(), $this->VALID_alertEnabled); $productLocation->update($this->getPDO()); }