public void WithOtherProgramInstance(int processId) { processManager.GetOtherInstancesProcessIds().Returns(new[] { processId }); }