public void TestAggregate() { var aggregator = new PassThroughLineAggregator<Person>(); var person = new Person { Id = 1, Name = "Person 1" }; var result = aggregator.Aggregate(person); Assert.AreEqual("[Person-Id(1),Name(Person 1)", result); }
public void TestAggregate() { var aggregator = new PassThroughLineAggregator <Person>(); var person = new Person { Id = 1, Name = "Person 1" }; var result = aggregator.Aggregate(person); Assert.AreEqual("[Person-Id(1),Name(Person 1)", result); }