Пример #1
0
        public void AppendLinesToFile_ThrowsArgumentNullExceptionIfFilePathIsEmpty()
        {
            // Arrange
            List <string> testStrings = new List <string> {
                "1", "2"
            };

            // Act & Assert
            Assert.Throws <ArgumentNullException>(() => _fileOperations.AppendLinesToFile(string.Empty, testStrings));
        }