| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | public function ジョブを生成することができる() |
||
| 11 | { |
||
| 12 | $args = array('1' => 'a', 'b' => '3'); |
||
| 13 | $job = new TestJob($args); |
||
| 14 | $this->assertEquals("Tavii\\SQSJobQueue\\Job\\TestJob",$job->getClassName()); |
||
| 15 | $this->assertEquals("test_job", $job->getName()); |
||
| 16 | $this->assertInternalType('array', $job->getArgs()); |
||
| 17 | $this->assertEquals($args, $job->getArgs()); |
||
| 18 | } |
||
| 19 | } |
||
| 39 | } |