Example #1
0
 public function testHasAccessOnMadeUpAction()
 {
     $admin = new PostAdmin('sonata.post.admin.post', 'Application\\Sonata\\NewsBundle\\Entity\\Post', 'SonataNewsBundle:PostAdmin');
     $this->assertFalse($admin->hasAccess('made-up'));
 }