public void GetPathFor() { #region GetPathFor var path = EmptyFiles.GetPathFor("jpg"); #endregion Assert.NotNull(path); Assert.True(File.Exists(path)); }
public void IsEmptyFile() { #region IsEmptyFile var path = EmptyFiles.GetPathFor("jpg"); Assert.True(EmptyFiles.IsEmptyFile(path)); var temp = Path.GetTempFileName(); Assert.False(EmptyFiles.IsEmptyFile(temp)); #endregion File.Delete(temp); }