Completed
Push — master ( ffecda...e79dfa )
by Benjamin
02:28
created

CronJobTest::testValidTarget()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
3
namespace Alpixel\Bundle\CronBundle\Tests\Annotation;
4
5
use Doctrine\Common\Annotations\Annotation\Target;
6
7
class CronJobTest extends \PHPUnit_Framework_TestCase
8
{
9
    public function testValidTarget()
10
    {
11
        $target = new Target(['value' => ['CLASS']]);
12
        $this->assertEquals(Target::TARGET_CLASS, $target->targets);
13
    }
14
}
15