def METHOD_NAME(mocker, expected_queue, func, queue):
    # MOCK portlist
    mocker.patch(
        target="os.listdir",
        return_value=[],
    )
    controller = portfolio_controller.PortfolioController(queue=queue)
    result = getattr(controller, func)([])
    assert result is None
    assert controller.queue == expected_queue