def METHOD_NAME(self, mock_ping_response):
    mocked_return_value = '["mock", "placeholder"]'
    mock_ping_response.side_effect = Exception('exception')
    transmission = stix_transmission.StixTransmission('proofpoint', CONNECTION, CONFIG)
    ping_response = transmission.ping()
    assert ping_response is not None
    assert ping_response['success'] is False
    assert ping_response['code'] == ErrorCode.TRANSMISSION_UNKNOWN.value