public void FileReader_ReadFile_Enumerates_Each_Line()
        {
            var schema = new DelimitedSchema<Person>();
            schema.AddMapping(s => s.FirstName, 1);
            schema.AddMapping(s => s.LastName, 2);
            schema.AddMapping(s => s.Gender, 3);
            schema.AddMapping(s => s.DateOfBirth, 4);

            var mapper = new DelimitedSchemaObjectMapper<Person>(schema, "|");
            var persons = new List<Person>();

            var fr = new FileReader();
            fr.ReadFile("text.txt", line =>
            {
                if (line.StartsWith("P"))
                {
                    persons.Add(mapper.MapLine(line));
                }
            });

            Assert.AreEqual(3, persons.Count);
        }