/** * @expectedException \InvalidArgumentException */ public function testExceptionDueToInvalidConditions() { $this->connection->delete('writers', 123); }