5657585960616263646566
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()); }
59606162636465666768
assertEquals(5, s2.total()); prevayler2.execute(new Soma()); assertEquals(10, s2.total()); prevayler2.execute(new Soma()); assertEquals(15, s2.total()); } }