public byte[] GetSum(string optionSum)
 {
     ControlSum controlSum = new ControlSum();
     if (optionSum == "MD5")
     {
         return controlSum.MD5SUm(PathFile + "enc");
     }
     else
         return controlSum.SHASUM(PathFile + "enc");
 }
 public void FilePathIsNull_MD5sum()
 {
     ControlSum controlSum = new ControlSum();
     controlSum.MD5SUm(null);
 }
 public void FileIsNotFound_MD5sum()
 {
     ControlSum controlSum = new ControlSum();
     controlSum.MD5SUm("asd.txt");
 }