How can I get a handle to the inmem journal from my tests. I'm trying to 
write a simple test wrapper that looks something like this:

given("an order") {
  Seq(OrderCreated(orderId=1234), ItemAdded(productId=123, quantity=5))
}

when("removing an item") {
  RemoveItemCommand(orderId=1234, productId=123, quantity=3)
}

then("the item should be removed") {
  Seq(ItemRemoved(orderId-1234, productId=123, quantity=3))
}

So the given function would have to insert some events into the in-memory 
journal and the then function would have to assert on the in-memory journal 
that the sequence of expected events is added to the journal.

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to