def METHOD_NAME(self, executor):
    """Successful - Error"""
    future = executor.submit(function, FunctionException, 1, None)
    with pytest.raises(ValueError):
        assert future.successful()
    future.wait()
    assert future.successful() is False
    with pytest.raises(FunctionException):
        future.get()