Beispiel #1
0
        protected override T GetClone <T>(T source, int expectedCount)
        {
            CopyContext c      = new CopyContext();
            T           target = Cloner <T> .Get(source, c);

            Assert.Equal(expectedCount, c.GetCount());
            return(target);
        }