Test Failed
Push — master ( abf703...9671b2 )
by Jonathan
04:24 queued 01:11
created

ActionScheduler_NullAction_Test   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 0
Metric Value
dl 0
loc 9
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 3
1
<?php
2
3
/**
4
 * Class ActionScheduler_NullAction_Test
5
 * @group actions
6
 */
7
class ActionScheduler_NullAction_Test extends ActionScheduler_UnitTestCase {
8
	public function test_null_action() {
9
		$action = new ActionScheduler_NullAction();
10
11
		$this->assertEmpty($action->get_hook());
12
		$this->assertEmpty($action->get_args());
13
		$this->assertNull($action->get_schedule()->next());
14
	}
15
}
16