Пример #1
0
 public function testCreateRole()
 {
     $role = Role::CreateRole('Admin', 'ADMIN');
     $this->assertInstanceOf('AppBundle\\Entity\\Role', $role);
     $this->assertEquals('Admin', $role->getName());
 }