| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | protected function setUp() |
||
| 19 | { |
||
| 20 | parent::setUp(); |
||
| 21 | |||
| 22 | $gateway = new LDAPFakeGateway(); |
||
| 23 | Injector::inst()->registerService($gateway, LDAPGateway::class); |
||
| 24 | |||
| 25 | $service = Injector::inst()->get(LDAPService::class); |
||
| 26 | $service->setGateway($gateway); |
||
| 27 | |||
| 28 | $this->service = $service; |
||
| 29 | } |
||
| 30 | } |
||
| 31 |