public void ReadTestData_WithNoDirectoryProvided_ReturnsEmptyCollection()
        {
            var fileDataProvider = new FileDataProvider(_logger.Object);

            var result = fileDataProvider.ReadTestData <TestPoco>(null);

            result.Should().BeEmpty();
        }
        public void ReadTestData_WithExampleDataFile_ReturnsNonEmptyCollection()
        {
            var fileDataProvider = new FileDataProvider(_logger.Object);
            var directory        = Path.Combine(Assembly.GetExecutingAssembly().GetDirectory(), _dataDir);

            var result = fileDataProvider.ReadTestData <TestPoco>(directory);

            result.Should().NotBeEmpty();
        }
        public void ReadTestData_WithNoDirectoryFound_ReturnsEmptyCollection()
        {
            var fileDataProvider = new FileDataProvider(_logger.Object);
            var directory        = @"c:\non_existing_directory";

            var result = fileDataProvider.ReadTestData <TestPoco>(directory);

            result.Should().BeEmpty();
        }