public void Setup()
        {
            // Given/arrange
            var fileFormatterWriter = new FileFormatterWriter();
            _outputPath = "./formattingText.txt";
            _numberOfObjects = 5;
            _baseDate = DateTime.Now;
            _input = new List<DummyObject>();
            for (int i = 0; i < _numberOfObjects; i++)
            {
                _input.Add(new DummyObject()
                               {SomeDateTime = _baseDate.AddDays(i), SomeInt = i, SomeString = i.ToString()});
            }
            _formatter = new Formatter<DummyObject>()
                .With(y => y.SomeInt, 0, 5, y => y.ToString().PadLeft(5,'0'));

            // When/act
            fileFormatterWriter.Format(_input, _outputPath, _formatter);
        }
        public void Setup()
        {
            // Given/arrange
            var fileFormatterWriter = new FileFormatterWriter();

            _outputPath      = "./formattingText.txt";
            _numberOfObjects = 5;
            _baseDate        = DateTime.Now;
            _input           = new List <DummyObject>();
            for (int i = 0; i < _numberOfObjects; i++)
            {
                _input.Add(new DummyObject()
                {
                    SomeDateTime = _baseDate.AddDays(i), SomeInt = i, SomeString = i.ToString()
                });
            }
            _formatter = new Formatter <DummyObject>()
                         .With(y => y.SomeInt, 0, 5, y => y.ToString().PadLeft(5, '0'));

            // When/act
            fileFormatterWriter.Format(_input, _outputPath, _formatter);
        }