public function testonFinalFailure() { $schedulersJob = new SchedulersJob(); //execute the method and test if it works and does not throws an exception. try { $schedulersJob->onFinalFailure(); $this->assertTrue(true); } catch (Exception $e) { $this->fail(); } $this->markTestIncomplete('method has no implementation: logic hooks not defined'); }