| 1 | <?php  | 
            ||
| 12 | class SecurityListenerTest extends \PHPUnit_Framework_TestCase  | 
            ||
| 13 | { | 
            ||
| 14 | |||
| 15 | public function testAccess()  | 
            ||
| 21 | |||
| 22 | /**  | 
            ||
| 23 | *  | 
            ||
| 24 | * @expectedException \APL\Exception\SecurityException  | 
            ||
| 25 | */  | 
            ||
| 26 | public function testDenied()  | 
            ||
| 32 | |||
| 33 | /**  | 
            ||
| 34 | *  | 
            ||
| 35 | * @return PreCommandEvent  | 
            ||
| 36 | */  | 
            ||
| 37 | private function createPreCommandEvent()  | 
            ||
| 41 | |||
| 42 | /**  | 
            ||
| 43 | *  | 
            ||
| 44 | * @param bool $return  | 
            ||
| 45 | * @return \APL\Security\PolicyInterface  | 
            ||
| 46 | */  | 
            ||
| 47 | private function createFakePolicy($return)  | 
            ||
| 57 | }  | 
            ||
| 58 |