def test_to_from_json(self): credentials = client.Credentials() json = credentials.to_json() client.Credentials.new_from_json(json)