public async Task Should_Get_ApiResource_By_Id()
        {
            var result = await _identityResourceAppService.GetAsync(_testData.IdentityResource1Id);

            result.ShouldNotBeNull();
            result.Name.ShouldBe("NewIdentityResource1");
            result.UserClaims.ShouldContain(nameof(ApiResourceClaim.Type));
        }
 public virtual Task <IdentityResourceDto> GetAsync(Guid id)
 {
     return(_identityResourceAppService.GetAsync(id));
 }