public void ShouldIgnoreACopyConstructor() { var source = new CopyConstructor { StringValue = "Copy!" }; var result = Mapper.Map(source).ToANew <CopyConstructor>(); result.StringValue.ShouldBe("Copy!"); }
public CopyConstructor(CopyConstructor otherInstance) { StringValue = otherInstance.StringValue; }