public void test_copyConfigurationFrom() { ViewConfiguration source = new ViewConfiguration(); source.LastSavedView = "someKey"; ViewConfiguration destination = new ViewConfiguration(); destination.CopyConfigurationFrom(source); Assert.Equal("someKey", destination.LastSavedView); }