You basically have to get a database failure on that query to actually test this, only way I can think of is to intentionally break the query because any other simulated failure won't let that query even try to execute (i.e. break DB creds, it'll fail connecting and that exception isn't caught in the manager).
You basically have to get a database failure on that query to actually test this, only way I can think of is to intentionally break the query because any other simulated failure won't let that query even try to execute (i.e. break DB creds, it'll fail connecting and that exception isn't caught in the manager).