internal static void Issue052_DuplicatorPostCustomizable(Fake <CopyHint> hint, Data item) { IDuplicator duplicator = new Duplicator(Tools.Asserter, false); hint.Setup( d => d.TryCopy(item, Arg.Any <DuplicatorChainer>()), Behavior.Returns((true, (object)item), Times.Once)); duplicator.AddHint(hint.Dummy); duplicator.Copy(item).Assert().ReferenceEqual(item); hint.VerifyAll(); }