Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
24 | public function testConstruct() |
||
25 | { |
||
26 | $this |
||
27 | /* @var \Cubiche\Core\Selector\SelectorFactoryInterface $factory */ |
||
28 | ->given($factory = $this->newTestedInstance('Cubiche\Core\Selector')) |
||
29 | ->then() |
||
30 | /* @var \Cubiche\Core\Selector\Key $key */ |
||
31 | ->object($key = $factory->create('key', array('foo'))) |
||
32 | ->isInstanceOf(Key::class) |
||
33 | ->string($key->name()) |
||
34 | ->isEqualto('foo') |
||
35 | ; |
||
36 | } |
||
37 | } |
||
38 |