Total Complexity | 4 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class IdenticalTest extends TestCase |
||
9 | { |
||
10 | |||
11 | public function testIdenticalWithSameObject() |
||
12 | { |
||
13 | $firstValue = new PlainObjectAsset(); |
||
14 | $secondValue = $firstValue; |
||
15 | $actual = identical($firstValue)($secondValue); |
||
16 | $this->assertTrue($actual); |
||
17 | } |
||
18 | |||
19 | public function testIdenticalWithDifferenceObject() |
||
25 | } |
||
26 | |||
27 | public function testIdenticalWithSamePrimitiveValue() |
||
28 | { |
||
29 | $firstValue = '1'; |
||
30 | $secondValue = '1'; |
||
31 | $actual = identical($firstValue)($secondValue); |
||
32 | $this->assertTrue($actual); |
||
33 | } |
||
34 | |||
35 | public function testIdenticalWithDifferencePrimitiveValue() |
||
41 | } |
||
42 | } |
||
43 |