def METHOD_NAME(spec, state):
    slashed_indices = _setup_process_slashings_test(spec, state)
    yield from run_process_slashings(spec, state)
    for i in slashed_indices:
        assert state.balances[i] == 0