def METHOD_NAME():
    '''
    Test download method
    '''
    responses.add(
        method='GET',
        url=re.compile(r'https://www\.tenable\.com/downloads/api/v2/pages/.*/files/.*'),
        body=b'Line1\nLine2\nLine3\nLine4\nLine5\nLine6\nLine7\nLine8\nLine9',
        stream=True
    )
    download = Downloads()
    # test returning a BytesIO object:
    fobj = download.download('nessus', 'Nessus-latest-es7.x86_64.rpm')
    assert isinstance(fobj, BytesIO)
    # test using the context manager
    with BytesIO() as pkgfile:
        download.download('nessus', 'Nessus-latest-es7.x86_64.rpm', pkgfile)