public void ShouldReturnNoark4FileReaderForNoark4() { var reader = new FlatFileReaderFactory().GetRecordEnumerator(CreateArchive(ArchiveType.Noark4), null); reader.GetType().Should().Be(typeof(Noark4FileReader)); }
public void ShouldReturnFlatFileReaderForFagsystem() { var reader = new FlatFileReaderFactory().GetRecordEnumerator(CreateArchive(ArchiveType.Fagsystem), null); reader.GetType().Should().Be(typeof(FixedFileFormatReader)); }