public void GetRoleByName_Success() { var expected = new IdentityRole { Name = _roleName }; IdentityRole result = _crowdAuthenticatedUserClient.GetRoleByName(_roleName); result.ShouldBeEquivalentTo(expected); }