derekgreer/expectedObjects — pull request #6 by chrismckelt (2014-12-10 15:43:25+00:00)
Title: Feature/strongly typed dto conversion

1 - copy values from a stub to your expected object & default all remaining properties with comparisons

var expected = Expected.WithPropertiesFrom(someObjectToMapPropertiesFrom);

2 - select specific properties you want from a stub to test (2nd property strongly typed --> refactoring name change will be found compared with anon type name)

var expected = testStub.WithSelectedProperties(
a => a.TypeWithIEnumerable,
a => a.Map(b => b.TypeWithString, c => c.Name2),
a => a.StringProperty);