public async Task AppendAllTextAsync() { if (File.Exists(_filePath)) { File.Delete(_filePath); } File.WriteAllText(_filePath, _textContent); await FileHelper.AppendAllTextAsync(_filePath, _appendContent); Assert.AreEqual($"{_textContent}{_appendContent}", File.ReadAllText(_filePath)); File.Delete(_filePath); }