Package ch.ralscha.extdirectspring.provider.RemoteProviderSimple

Examples of ch.ralscha.extdirectspring.provider.RemoteProviderSimple.BusinessObject


        "aStr;;24", "aStr", 24, null);
  }

  @Test
  public void methodWithComplexCollections() throws Exception {
    BusinessObject bo1 = new BusinessObject(1, "one", new BigDecimal("1.11"));
    BusinessObject bo2 = new BusinessObject(2, "two", new BigDecimal("2.22"));
    BusinessObject bo3 = new BusinessObject(3, "three", new BigDecimal("3.33"));

    ControllerUtil.sendAndReceive(mockMvc, "remoteProviderSimple", "method25", "a;"
        + bo1.toString() + "-;1", "a", new BusinessObject[] { bo1 }, 1);

    ControllerUtil.sendAndReceive(mockMvc, "remoteProviderSimple", "method25", "b;"
View Full Code Here


        "d;;3", "d", null, 3);
  }

  @Test
  public void methodWithComplexArrays() throws Exception {
    BusinessObject bo1 = new BusinessObject(4, "four", new BigDecimal("4.44"));
    BusinessObject bo2 = new BusinessObject(5, "five", new BigDecimal("5.55"));
    BusinessObject bo3 = new BusinessObject(6, "six", new BigDecimal("6.66"));

    ControllerUtil.sendAndReceive(mockMvc, "remoteProviderSimple", "method26", "e;"
        + bo1.toString() + "-;4", "e", new BusinessObject[] { bo1 }, 4);

    ControllerUtil.sendAndReceive(mockMvc, "remoteProviderSimple", "method26", "f;"
View Full Code Here

TOP

Related Classes of ch.ralscha.extdirectspring.provider.RemoteProviderSimple.BusinessObject

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.