Send a message to the mock actor, which will be recorded and not processed by the message handler.
Send a message to the mock actor, which will be recorded and not processed by the message handler.
Send a message to the Actor and wait for the actor to process the message and reply.
Send a message to the Actor and wait for the actor to process the message and reply.
Send a message to the Actor and wait for up to timeout milliseconds for the actor to process the message and reply.
Send a message to the Actor and wait for up to timeout milliseconds for the actor to process the message and reply.
Send a message to the Actor and get an LAFuture that will contain the reply (if any) from the message
Send a message to the Actor and get an LAFuture that will contain the reply (if any) from the message
Send a message to the Actor and wait for up to timeout milliseconds for the actor to process the message and reply.
Send a message to the Actor and wait for up to timeout milliseconds for the actor to process the message and reply.
Send a message to the Actor and wait for the actor to process the message and reply.
Send a message to the Actor and wait for the actor to process the message and reply.
You can wrap calls around the evaluation of the mailbox.
You can wrap calls around the evaluation of the mailbox. This allows you to set up the environment.
A list of LoanWrappers that will be executed around the evaluation of mailboxes
A list of LoanWrappers that will be executed around the evaluation of mailboxes
Test to see if this actor has received a particular message.
Test to see if this actor has received a particular message.
This method inserts the message at the head of the mailbox.
This method inserts the message at the head of the mailbox. It's protected because this functionality may or may not want to be exposed.
Return the number of messages this mock actor has received.
Return the number of messages this mock actor has received.
Returns the list of messages the mock actor has received.
Returns the list of messages the mock actor has received.
The Actor should call this method with a reply to the message
The Actor should call this method with a reply to the message
Send a message to the Actor.
Send a message to the Actor. This call will always succeed and return almost immediately. The message will be processed asynchronously. This is a Java-callable alias for !.
Send a message to the Actor and get an LAFuture that will contain the reply (if any) from the message.
Send a message to the Actor and get an LAFuture that will contain the reply (if any) from the message. This method calls !< and is here for Java compatibility.
Send a message to the Actor and wait for up to timeout milliseconds for the actor to process the message and reply.
Send a message to the Actor and wait for up to timeout milliseconds for the actor to process the message and reply. This method is the Java callable version of !?.
Send a message to the Actor and wait for the actor to process the message and reply.
Send a message to the Actor and wait for the actor to process the message and reply. This method is the Java callable version of !?.
A MockLiftActor for use in testing other compnents that talk to actors.
Much like MockSpecializedLiftActor, this class is intended to be injected into other components, such as snippets, during testing. Whereas these components would normally talk to a real actor that would process their message, this mock actor simply records them and exposes methods the unit test can use to investigate what messages have been received by the actor.