Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
21 | class AdapterTest extends PHPUnit_Framework_TestCase |
||
22 | { |
||
23 | |||
24 | /** |
||
25 | * @var RegistryAdapter |
||
26 | */ |
||
27 | protected $adapter; |
||
28 | /** |
||
29 | * @var Registry |
||
30 | */ |
||
31 | protected $registry; |
||
32 | |||
33 | protected function setUp(): void |
||
37 | } |
||
38 | |||
39 | public function testSecond() |
||
40 | { |
||
41 | $this->registry->setFirst('First'); |
||
42 | $this->assertEquals('First', $this->registry->getFirst()); |
||
43 | $this->registry->setSecond('3.14'); |
||
44 | $this->assertEquals('3.14', $this->registry->getSecond()); |
||
45 | } |
||
46 | |||
47 | public function testAdapt() |
||
53 | } |
||
54 | } |
||
55 |