Exemplo n.º 1
0
 public void EncodingPersonToFixedStringPasses()
 {
     var person = new Person() { Id = 123, Name = "Elvis Presley" };
     var writer = new TabFileWriter<Person>();
     var line = writer.MakeLine(person);
     Assert.AreEqual("123\tElvis Presley", line);
 }