Package org.springframework.batch.sample.domain.trade

Examples of org.springframework.batch.sample.domain.trade.CustomerDebitDao


  public void testProcess() {
    Trade trade = new Trade();
    trade.setCustomer("testCustomerName");
    trade.setPrice(new BigDecimal("123.0"));
   
    CustomerDebitDao dao = new CustomerDebitDao() {
      @Override
      public void write(CustomerDebit customerDebit) {
        assertEquals("testCustomerName", customerDebit.getName());
        assertEquals(new BigDecimal("123.0"), customerDebit.getDebit());
      }     
View Full Code Here

TOP

Related Classes of org.springframework.batch.sample.domain.trade.CustomerDebitDao

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.