Total Complexity | 2 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
12 | class SwitchParameterSetEventTest extends \PHPUnit_Framework_TestCase |
||
13 | { |
||
14 | /** |
||
15 | * @var SwitchParameterSetEvent |
||
16 | */ |
||
17 | private $event; |
||
18 | /** |
||
19 | * @var array |
||
20 | */ |
||
21 | private $parameter; |
||
22 | |||
23 | protected function setUp() |
||
24 | { |
||
25 | $this->parameter = [ |
||
26 | 'driver' => [ |
||
27 | // SOME ATTRIBUTES |
||
28 | ], |
||
29 | 'user' => [ |
||
30 | 'baseDn' => 'ou=Groups,dc=example,dc=com', |
||
31 | 'filter' => '(attr0=value0)', |
||
32 | 'attributes' => [ |
||
33 | [ |
||
34 | 'ldap_attr' => 'uid', |
||
35 | 'user_method' => 'setUsername', |
||
36 | ], |
||
37 | ], |
||
38 | ], |
||
39 | ]; |
||
40 | $this->event = new SwitchParameterSetEvent($this->parameter); |
||
41 | } |
||
42 | |||
43 | |||
44 | public function testGetter() |
||
48 | } |
||
49 | |||
51 |