Example #1
0
        public void CreateStringBuilderFromValidFile()
        {
            var fileName = "loan1.txt";
            var expected = "amount : 100000 interest:5.5% downpayment: $20000 term:30 ";

            var outSB = _mortgageService.ReadFileIntoStringBuilder(fileName);

            Assert.Equal(expected, outSB.ToString());
        }