Hi everybody!

I was wondering about the best way to test an actor that has a Receive 
method with parameters.

For example:

def receive = {
  case "StateA" => become(newState("A"))
  case "StateB" => become(newState("B"))  
}

def newState(name: String): Receive {
  ...
}

Is there any way that I can assert the 'name' parameter when testing the 
actor?

Thanks in advance,
Gabriel

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: http://akka.io/faq/
>>>>>>>>>>      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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to