| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 9 | 
| Code Lines | 6 | 
| Lines | 9 | 
| Ratio | 100 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 34 | public function testIsGranted()  | 
            ||
| 35 |     { | 
            ||
| 36 |         $request = $this->getSimpleTestDouble('\Symfony\Component\HttpFoundation\Request', array('getPathInfo')); | 
            ||
| 37 | $request  | 
            ||
| 38 | ->expects($this->once())  | 
            ||
| 39 |             ->method('getPathInfo') | 
            ||
| 40 |             ->willReturn('/app/core'); | 
            ||
| 41 | |||
| 42 |         $voter = $this->getProxyBuilder('\Graviton\SecurityBundle\Voter\ServiceAllowedVoter') | 
            ||
| 43 | ->setConstructorArgs(array($this->whitelist))  | 
            ||
| 54 |