- Adds unit tests for Cron Trigger class

This commit is contained in:
Vlad
2016-08-31 20:30:27 -04:00
parent 2986cdba85
commit bcf1b37c6a
5 changed files with 84 additions and 4 deletions

View File

@ -0,0 +1,9 @@
<?php
namespace MailPoet\Cron\Triggers;
class MockMethodWithException {
static function run() {
throw new \Exception('Exception thrown');
}
}