Пример #1
0
 public void PrintToString_PrintingPropertyByAlternateSerializing()
 {
     printer = printer.SetAlternateSerialize(x => x.Name, x => x + "!!");
     printer.PrintToString(person).Should().Contain($"{nameof(person.Name)} = Alex!!");
 }