/// <summary> /// Deactivate all actors /// </summary> /// <param name="context">context</param> /// <returns>task</returns> public async Task DeactivateAll() { IsRunning.Verify().Assert(x => x == true, _disposedTestText); await _actorRepository.Clear(Configuration.WorkContext.With(_tag)).ConfigureAwait(false); }