'Check that the domain information is correctly returned from AWS'

def test_cloudsearch_connect_result_details(self):

    self.set_http_response(status_code=200)
    api_response = self.service_connection.create_domain('demo')
    domain = Domain(self, api_response['CreateDomainResponse']['CreateDomainResult']['DomainStatus'])
    self.assertEqual(domain.id, '1234567890/demo')
    self.assertEqual(domain.name, 'demo')
