@Test
public void testPathSet() {

    TestBean tb = new TestBean();
    ObjectPropertyUtils.setPropertyValue(tb, "rwProp", "bar");
    assertEquals("bar", tb.getRwProp());
    ObjectPropertyUtils.setPropertyValue(tb, "next", new TestBean());
    ObjectPropertyUtils.setPropertyValue(tb, "next.next", new TestBean());
    ObjectPropertyUtils.setPropertyValue(tb, "next.next.woProp", "baz");
    assertEquals("baz", tb.getNext().getNext().woProp);
}