public void TestCopyTo() { var input = new TestObject { Property1 = "Hello", Property2 = "Goodbye" }; var actual = new TestObject { Property1 = "Google", Property2 = "Yahoo" }; actual = input.CopyTo(actual); Assert.AreEqual(input.Property1, actual.Property1); Assert.AreEqual(input.Property2, actual.Property2); }