842843844845846847848
assertTrue("Said correctly to user", ((Say)r).getWho().equals("foo")); assertTrue("Said correctly message", ((Say)r).getMsg().equals("message")); p.save(); r.visit(new ScriptusFacade(datastore, c, m, conf), p); }
867868869870871872873
assertTrue("Listened correctly", r instanceof Listen); assertTrue("Listened correctly to", ((Listen)r).getWho().equals("foo")); p.save(); r.visit(new ScriptusFacade(datastore, c, m, conf), p); }
881882883884885886887
assertTrue("Listened correctly", r instanceof Listen); assertNull("Listened correctly to", ((Listen)r).getWho()); p.save(); r.visit(new ScriptusFacade(datastore, c, m, conf), p); }
903904905906907908909
assertTrue("Listened correctly", r instanceof Listen); p.save(); r.visit(new ScriptusFacade(datastore, c, m, conf), p); }
936937938939940941942
assertTrue("Failed correctly", r instanceof ErrorTermination); System.out.println(((ErrorTermination)r).getError()); r.visit(new ScriptusFacade(datastore, c, m, conf), p); }
951952953954955956957
966967968969970971972
981982983984985986987
assertEquals("Failed correctly", ErrorTermination.class, r.getClass()); System.out.println(((ErrorTermination)r).getError()); r.visit(new ScriptusFacade(datastore, c, m, conf), p); }
9979989991000100110021003