public async Task Should_have_user_roles_for_civil_money_claims_claimant()
        {
            var caseTypeName = "Civil Money Claims";
            var caseRoleName = "Claimant";
            var caseType     = await _handler.Handle(new GetCaseTypeQuery(caseTypeName));

            caseType.Should().NotBeNull();
            AssertUserRolesForCaseRole(caseType, caseRoleName);
        }
Exemple #2
0
        public async Task Should_have_user_roles_for_generic_applicant()
        {
            var caseTypeName = "Generic";
            var caseRoleName = "Applicant";
            var caseType     = await _handler.Handle(new GetCaseTypeQuery(caseTypeName));

            caseType.Should().NotBeNull();
            AssertUserRolesForCaseRole(caseType, caseRoleName);
        }