Пример #1
0
        public void ClearFiles_CountNullResult()
        {
            // Arrange
            var files            = new List <FileData>(DefaultFileData.FileDataToTestTwoPositions);
            var filesInfoProject = new PackageData(files);

            // Act
            filesInfoProject.ClearFiles();

            // Assert
            Assert.AreEqual(filesInfoProject.FilesData.Count, 0);

            filesInfoProject?.Dispose();
        }