Ejemplo n.º 1
0
 /**
  * Tests the setDefaultAction
  *
  * @author Nikolaos Dimopoulos <*****@*****.**>
  * @since  2014-10-04
  */
 public function testAclDefaultAction()
 {
     $this->specify('The Acl\\Adapter\\Memory does not get/set the default action correctly', function () {
         $acl = new PhTAclMem();
         $acl->setDefaultAction(PhAcl::ALLOW);
         $expected = PhAcl::ALLOW;
         $actual = $acl->getDefaultAction();
         expect($actual)->equals($expected);
     });
 }