Package org.strecks.converter.handler.impl

Examples of org.strecks.converter.handler.impl.StringToStringConverter


  public void testOutwardConversion()
  {
    DefaultConversionHandler handler = new DefaultConversionHandler();
    TargetBean bean = new TargetBean();
    bean.setStringProperty("2");
    Assert.assertEquals(handler.getAndConvertOutwards(bean, "stringProperty", new StringToStringConverter()), "2");
  }
View Full Code Here


  public void testInwardConversion()
  {
    DefaultConversionHandler handler = new DefaultConversionHandler();
    TargetBean bean = new TargetBean();
    bean.setStringProperty("2");
    Assert.assertEquals(handler.getAndConvertInwards(bean, "stringProperty", new StringToStringConverter()), "2");
  }
View Full Code Here

TOP

Related Classes of org.strecks.converter.handler.impl.StringToStringConverter

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.