public void WriteDataToCSVNullPath()
        {
            IEnumerable <string> items = new List <string>();

            FluentActions.Invoking(() => RecordCounterProcessor.WriteDataToCSV(items, null))
            .Should()
            .Throw <ArgumentNullException>();
        }
        public void WriteDataToCSVNullItems()
        {
            IEnumerable <string> items = null;
            var path = "TestData/apointmentsSchema.xml";

            FluentActions.Invoking(() => RecordCounterProcessor.WriteDataToCSV(items, path))
            .Should()
            .Throw <ArgumentNullException>();
        }
        public void WriteDataToCSV()
        {
            var items = new List <string>();

            var path = "TestData/apointmentsSchema.xml";

            FluentActions.Invoking(() => RecordCounterProcessor.WriteDataToCSV(items, path))
            .Should()
            .NotThrow();
        }