Package prevaylerjr

Examples of prevaylerjr.PrevaylerJr.execute()


    PrevaylerJr prevayler2 = createPrevayler();
   
    Somador s2 = (Somador)prevayler2.sistema();
    assertEquals(5, s2.total());
   
    prevayler2.execute(new Soma());
    assertEquals(10, s2.total());
   
    prevayler2.execute(new Soma());
    assertEquals(15, s2.total());
  }
View Full Code Here


    assertEquals(5, s2.total());
   
    prevayler2.execute(new Soma());
    assertEquals(10, s2.total());
   
    prevayler2.execute(new Soma());
    assertEquals(15, s2.total());
  }

}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.