public void MergeShouldNotCorruptInterfaceFunction()
        {
            var testInterfaceClass = new TestInterfaceClass();

            var testInterfaceClassWithAdditionalProperties = new TestInterfaceClassWithAdditionalCode();

            var mergedClass = ObjectMerger.ObjectMerger.MergeObjects(testInterfaceClass as ITestInterface,
                                                                     testInterfaceClassWithAdditionalProperties as ITestInterface);

            mergedClass.DoNothing();
        }
        public void MergeShouldNotCopyNewMembers()
        {
            var testInterfaceClass = new TestInterfaceClass();

            var testInterfaceClassWithAdditionalProperties = new TestInterfaceClassWithAdditionalCode();

            var mergedClass = ObjectMerger.ObjectMerger.MergeObjects(testInterfaceClass as ITestInterface,
                                                                     testInterfaceClassWithAdditionalProperties as ITestInterface);

            Assert.IsNull(mergedClass as TestInterfaceClassWithAdditionalCode);
        }