public void EndProcess_Ends_Process_If_Present() { Assert.IsFalse(FileLibrary.IsProcessRunning(processName)); startProcess(); Assert.IsTrue(FileLibrary.IsProcessRunning(processName)); FileLibrary.EndProcess(processName); Assert.IsFalse(FileLibrary.IsProcessRunning(processName)); }
public void EndProcess_Does_Nothing_If_Not_Present() { FileLibrary.EndProcess(processName); Assert.IsFalse(FileLibrary.IsProcessRunning(processName)); }