コード例 #1
0
        public void GetRoleByName_Success()
        {
            var expected = new IdentityRole {
                Name = _roleName
            };
            IdentityRole result = _crowdAuthenticatedUserClient.GetRoleByName(_roleName);

            result.ShouldBeEquivalentTo(expected);
        }