Interface TestInbox<T>

  • All Known Implementing Classes:
    TestInboxImpl

    public interface TestInbox<T>
    The actor ref of the inbox
    • Method Detail

      • ref

        ActorRef<T> ref()
        The actor ref of the inbox
        Returns:
        (undocumented)
      • receiveMessage

        T receiveMessage()
        Get and remove the oldest message
        Returns:
        (undocumented)
      • expectMessage

        TestInbox<T> expectMessage​(T expectedMessage)
        Assert and remove the the oldest message.
        Parameters:
        expectedMessage - (undocumented)
        Returns:
        (undocumented)
      • receiveAll

        scala.collection.immutable.Seq<T> receiveAll()
        Collect all messages in the inbox and clear it out
        Returns:
        (undocumented)
      • internalReceiveAll

        scala.collection.immutable.Seq<T> internalReceiveAll()
      • hasMessages

        boolean hasMessages()