public void TestFindEndsWithSecondLine()
        {
            var array = new ArrayList { "line first", "line second", "line third" };

            var result = array.EndsWith("second");

            Assert.AreEqual("line second", result);
        }
        public void TestFindEndsWithFirstLineFromIndex()
        {
            var array = new ArrayList { "line first", "second line", "first but third line first" };

            var result = array.EndsWith("first", 1);

            Assert.AreEqual("first but third line first", result);
        }
        public void TestFindEndsWithThirdLineNotFound()
        {
            var array = new ArrayList { "line first", "line second" };

            var result = array.EndsWith("third");

            Assert.AreEqual(string.Empty, result);
        }