Package jodd.bean.data

Examples of jodd.bean.data.LifeBean


public class BeanPrefixTest {

  @Test
  public void testFieldPrefix1() {
    LifeBean lifeBean = new LifeBean();

    String foo = BeanUtil.getProperty(lifeBean, "foo").toString();

    assertEquals("foo", foo);
View Full Code Here


    JoddIntrospector.introspector = new CachingIntrospector();
  }

  @Test
  public void testFieldPrefix1withEmpty() {
    LifeBean lifeBean = new LifeBean();

    String foo = BeanUtil.getProperty(lifeBean, "foo").toString();

    assertEquals("foo", foo);
View Full Code Here

    JoddIntrospector.introspector = new CachingIntrospector();
  }

  @Test
  public void testFieldPrefix2() {
    LifeBean lifeBean = new LifeBean();

    String bar = BeanUtil.getProperty(lifeBean, "bar").toString();

    assertEquals("bar", bar);
View Full Code Here

TOP

Related Classes of jodd.bean.data.LifeBean

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.