public void ReadUnvalidatedSubtitles_NullReader_Throws()
        {
            IFileLineReader nullReader = null;

            Assert.Throws <ArgumentNullException>(
                () => new UnvalidatedSubtitlesFileReader(nullReader));
        }
        public UnvalidatedSubtitlesFileReader(IFileLineReader reader)
        {
            if (reader == null)
            {
                throw new ArgumentNullException(nameof(reader));
            }

            this.reader = reader;
        }
 private UnvalidatedSubtitlesFileReader CreateReader(IFileLineReader reader)
 {
     return(new UnvalidatedSubtitlesFileReader(reader));
 }