Package org.springframework.beans.support

Examples of org.springframework.beans.support.DerivedFromProtectedBaseBean


    assertEquals(0, tb.getArray()[0]);
    assertEquals(1, tb.getArray()[1]);
  }

  public void testPropertiesInProtectedBaseBean() {
    DerivedFromProtectedBaseBean bean = new DerivedFromProtectedBaseBean();
    BeanWrapper bw = new BeanWrapperImpl(bean);
    bw.setPropertyValue("someProperty", "someValue");
    assertEquals("someValue", bw.getPropertyValue("someProperty"));
    assertEquals("someValue", bean.getSomeProperty());
  }
View Full Code Here


    assertEquals(1, tb.getArray()[1]);
  }

  @Test
  public void testPropertiesInProtectedBaseBean() {
    DerivedFromProtectedBaseBean bean = new DerivedFromProtectedBaseBean();
    BeanWrapper bw = new BeanWrapperImpl(bean);
    bw.setPropertyValue("someProperty", "someValue");
    assertEquals("someValue", bw.getPropertyValue("someProperty"));
    assertEquals("someValue", bean.getSomeProperty());
  }
View Full Code Here

TOP

Related Classes of org.springframework.beans.support.DerivedFromProtectedBaseBean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.