    @Test
    public void copyProperties() throws Exception {

        FromClassGetter fromClass = new FromClassGetter();
        fromClass.setStringValue("[FromClass] = Save");
        InnerClass innerClass = new InnerClass();
        innerClass.setStringValue("[InnerClass] = Save");
        fromClass.setInnerClass(innerClass);

        ToClassSetter toClass = new ToClassSetter();
        EntityUtils.copyProperties(fromClass, toClass);

        assertEquals(fromClass.getStringValue(), toClass.getStringValue());
        assertEquals(fromClass.getInnerClass(), toClass.getInnerClass());
    }