Exemplo n.º 1
0
        public void ShouldReturnAllPermissions()
        {
            IPermissionRepository permissionRepository = new PermissionRepository();
            var permissions = permissionRepository.GetAllPermissions();

            Assert.That(permissions.Count > 0);
        }
Exemplo n.º 2
0
 public void GetPermissionsByAccountId()
 {
     var permissionRepository = new PermissionRepository();
     var permissions = permissionRepository.GetPermissionsByAccountId(1);
 }