'Check the members of a relationship collection.
:param resource_uri: URI of base resource
:param relationship_name: name of relationship attribute on base
resource
:param other_entry_name: name of other entry in relationship
:param field: name of field to grab on other entry
:param expected values: list of expected values for the given field'

def check_relationship(self, resource_uri, relationship_name, other_entry_name, field, expected_values, length=None, check_number=None):

    response = self.request('get', resource_uri)
    relationship_uri = response[relationship_name]['href']
    relationships = self.request('get', relationship_uri)
    self.check_collection(relationships, [other_entry_name, field], expected_values, length, check_number)
