ViewStyle copy = new ViewStyle(orig);
orig.setWrapAlignment(false);
Assert.assertEquals(copy.getCharHeight(), orig.getCharHeight());
Assert.assertEquals(copy.getWrappedWidth(), orig.getWrappedWidth());
Assert.assertEquals(copy.getWrapAlignment(), !orig.getWrapAlignment());
ViewStyle copy = new ViewStyle(orig);
orig.setWrapAlignment(false);
Assert.assertEquals(copy.getCharHeight(), orig.getCharHeight());
Assert.assertEquals(copy.getWrappedWidth(), orig.getWrappedWidth());
Assert.assertEquals(copy.getWrapAlignment(), !orig.getWrapAlignment());