private void RestartHost(SharpRemote.Hosting.OutOfProcessSilo silo) { var pid = silo.HostProcessId; var process = Process.GetProcessById(pid.Value); process.Kill(); silo.Property(x => x.IsProcessRunning).ShouldEventually().BeFalse(); silo.Property(x => x.IsProcessRunning).ShouldEventually().BeTrue(); silo.Property(x => x.IsConnected).ShouldEventually().BeTrue(); }