Example #1
0
        public async Task FindTest()
        {
            _claims = new Claim[1] {
                new Claim(IdentityConfigs.Claims.SelectedGovAgency, "022001000000,022001000000")
            };
            _branchController = _branchController.WithIdentity(_claims);
            var requestModel = new BranchSearchCriteriaModel()
            {
            };

            var response = await _branchController.Find(requestModel);

            Assert.NotNull(response);
            Assert.NotEmpty(response.Items);
        }