Exemplo n.º 1
0
        public void ParseFile_WhenCalled_ReturnsNumberOfEntries(string path, string find, string replace, int expected)
        {
            // Arrange
            Replacer replacer = new Replacer(path, find, replace);

            // Act
            int actual = replacer.ParseFile();

            // Assert
            Assert.AreEqual(expected, actual);
        }