def simulation_test(**kwargs):
    """Decorate a unit test and mark it as a simulation test.

    The arguments provided to this decorator will be passed to
    :py:meth:`~reviewbot.tools.testing.testcases.BaseToolTestCase
    .setup_simulation_test`.

    Args:
        **kwargs (dict):
            Keyword arguments to pass during setup.

    Returns:
        callable:
        The new unit test function.
    """
    def _dec(func):
        func.simulation_setup_kwargs = kwargs

        return func

    return _dec