AkkaTypedMatchers

net.ruippeixotog.akka.testkit.specs2.AkkaTypedMatchers

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Concrete methods

def receive[Msg]: FullReceiveMatcher[TestProbe[Msg], Msg]

A Matcher expecting a probe to have received a message within the default timeout. Additional methods can be chained to constrain the expected message.

A Matcher expecting a probe to have received a message within the default timeout. Additional methods can be chained to constrain the expected message.

Attributes

def receiveMessage[Msg]: FullReceiveMatcher[TestProbe[Msg], Msg]

An alias for receive.

An alias for receive.

Attributes

def receiveMessageWithin[Msg](max: FiniteDuration): FullReceiveMatcher[TestProbe[Msg], Msg]

An alias for receiveWithin.

An alias for receiveWithin.

Attributes

def receiveWithin[Msg](max: FiniteDuration): FullReceiveMatcher[TestProbe[Msg], Msg]

A Matcher expecting a probe to have received a message within the provided timeout. Additional methods can be chained to constrain the expected message.

A Matcher expecting a probe to have received a message within the provided timeout. Additional methods can be chained to constrain the expected message.

Attributes

max

the timeout for a message to be received