// In order to make this testable we can move mapping outside and test as public methods // (although this is not a method that should be public, so maybe internal and make visible only to testing project) private Cyril MapFurryToCyril(Furry furry) { var cyril = new Cyril(); cyril.Id = furry.Id; cyril.Age = furry.Age; return cyril; }
// In order to make this testable we can move mapping outside and test as public methods // (although this is not a method that should be public, so maybe internal and make visible only to testing project) private Cyril MapFurryToCyril(Furry furry) { var cyril = new Cyril(); cyril.Id = furry.Id; cyril.Age = furry.Age; return(cyril); }