Skip to content

Commit

Permalink
Type-safe Prevayler
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNavigateur committed Nov 5, 2011
1 parent 65a38e4 commit 7e1242c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -36,7 +36,7 @@ public Integer query(LinkedList prevalentSystem, Date ignored) throws Exception
public void testTransactionWithQuery() throws Exception {
LinkedList prevalentSystem = new LinkedList();
Prevayler<LinkedList> prevayler = PrevaylerFactory.createTransientPrevayler(prevalentSystem);
Object result = prevayler.execute(transactionWithQuery());
String result = prevayler.execute(transactionWithQuery());
assertEquals("abc", result);
assertEquals("added element", prevalentSystem.get(0));
}
Expand Down

0 comments on commit 7e1242c

Please sign in to comment.