Package org.strecks.injection.factory.impl

Examples of org.strecks.injection.factory.impl.IntToIntConverter


  public void test()
  {

    HttpServletRequest request = EasyMock.createStrictMock(HttpServletRequest.class);
    RequestParameterInjectionHandler handler = new RequestParameterInjectionHandler("paramName",
        new IntToIntConverter(), true);

    expect(request.getParameter("paramName")).andReturn("1");

    replay(request);
View Full Code Here


  public void testInvalidOutwardConversion()
  {

    ConversionHandler conversionHandler = createStrictMock(ConversionHandler.class);

    IntToIntConverter converter = new IntToIntConverter();
    BindSimpleHandler handler = new BindSimpleHandler();
    TargetBean bean = new TargetBean();
    bean.setStringProperty("2");
    ApplicationRuntimeException exception = new ApplicationRuntimeException();
View Full Code Here

TOP

Related Classes of org.strecks.injection.factory.impl.IntToIntConverter

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.