def test_get_user_details(self):
        user_data_response = json.loads(u'''
            {
                "userid":"john@domain.com",
                "id": "1929",
                "guid": "YxYHXk9rQHhMhrmJobHJymA",
                "firstname":"John",
                "middlename":"D",
                "lastname":"Smith",
                "gender":"M",
                "birth_dt":"1991-04-04 05:00:00",
                "email":[
                    {
                        "email":"john@domain.com",
                        "is_primary":false
                    },
                    {
                        "email":"john.smith@domain.com",
                        "is_primary":true
                    }
                ],
                "address":[
                    {
                        "addr1": "224 North Desplaines Street",
                        "addr2": "Suite 500",
                        "city": "Chicago",
                        "country": "US",
                        "postal_code": "60657"
                    },
                    {
                        "addr1": "123 Front Street",
                        "city": "Milwaukee",
                        "country": "US",
                        "is_primary": true,
                        "postal_code": "53221",
                        "postal_code_ext": "1000",
                        "state_cd": "WI"
                    }
                ],
                "phone":[
                    {
                        "phone":"1112223333",
                        "is_primary":true
                    }
                ]
            }
        ''')
        result = self.backend.get_user_details(user_data_response)

        self.assertDictEqual(result,
            {
                "username": u"1929",
                "email": u"john.smith@domain.com",
                "fullname": u"John Smith",
                "first_name": u"John",
                "last_name": u"Smith"
            })
Return a list of all ``Realm`` objects.
dataset/ETHPy150Open ofa/connect/connect_extras/tests/test_bsdtoolsauth.py/TestBSDToolsOAuthBackend.test_get_user_details--crossover with--dataset/ETHPy150Open bmbouter/Opus/opus/lib/prov/drivers/opennebula14.py/OpenNebula14Driver.realms