/** * @expectedException \InvalidArgumentException */ public function testExceptionDueToInvalidConditions() { $this->connection->update('writers', ['name' => 'Anton Chekhov', 'birthday' => new DateTime('1860-01-29')], 123); }
/** * @expectedException \InvalidArgumentException */ public function testExceptionDueToInvalidConditions() { $this->connection->update('writers', ['name' => 'Anton Chekhov', 'birthday' => new DateTime('1860-01-29')], 123); }