'Initialize variables and mock functions.'

def setUp(self):

    super(ManageExistingTestCase, self).setUp()
    mock.patch.object(self.requester, 'volumeDetail', self.perform_disco_request).start()
    mock.patch.object(self.requester, 'volumeDetailByName', self.perform_disco_request).start()
    self.response = {'volumeInfoResult': {'volumeName': 'abcdefg', 'volumeId': 1234567, 'volSizeMb': 2}, 'status': 0}
    self.existing_ref_no_identification = {}
    self.existing_ref_with_id = {'source-id': 1234567}
    self.existing_ref_with_name = {'source-name': 'abcdefg'}
    self.existing_ref_no_identification = self.existing_ref_with_id
