Class/Object

akka.testkit

TestProbe

Related Docs: object TestProbe | package testkit

Permalink

class TestProbe extends TestKit

TestKit-based probe which allows sending, reception and reply.

Source
TestKit.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TestProbe
  2. TestKit
  3. TestKitBase
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TestProbe(_application: ActorSystem)

    Permalink
  2. new TestProbe(_application: ActorSystem, name: String)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from TestProbe to any2stringadd[TestProbe] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (TestProbe, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from TestProbe to ArrowAssoc[TestProbe] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def awaitAssert[A](a: ⇒ A, max: Duration = Duration.Undefined, interval: Duration = 100.millis): A

    Permalink

    Evaluate the given assert every interval until it does not throw an exception and return the result.

    Evaluate the given assert every interval until it does not throw an exception and return the result.

    If the max timeout expires the last exception is thrown.

    If no timeout is given, take it from the innermost enclosing within block.

    Note that the timeout is scaled using Duration.dilated, which uses the configuration entry "akka.test.timefactor".

    Definition Classes
    TestKitBase
  8. def awaitCond(p: ⇒ Boolean, max: Duration = Duration.Undefined, interval: Duration = 100.millis, message: String = ""): Unit

    Permalink

    Await until the given condition evaluates to true or the timeout expires, whichever comes first.

    Await until the given condition evaluates to true or the timeout expires, whichever comes first.

    If no timeout is given, take it from the innermost enclosing within block.

    Note that the timeout is scaled using Duration.dilated, which uses the configuration entry "akka.test.timefactor".

    Definition Classes
    TestKitBase
  9. def childActorOf(props: Props): ActorRef

    Permalink

    Spawns an actor as a child of this test actor with an auto-generated name and stopping supervisor strategy, returning the child's ActorRef.

    Spawns an actor as a child of this test actor with an auto-generated name and stopping supervisor strategy, returning the child's ActorRef.

    props

    Props to create the child actor

    Definition Classes
    TestKitBase
  10. def childActorOf(props: Props, name: String): ActorRef

    Permalink

    Spawns an actor as a child of this test actor with a stopping supervisor strategy, and returns the child's ActorRef.

    Spawns an actor as a child of this test actor with a stopping supervisor strategy, and returns the child's ActorRef.

    props

    Props to create the child actor

    name

    Actor name for the child actor

    Definition Classes
    TestKitBase
  11. def childActorOf(props: Props, supervisorStrategy: SupervisorStrategy): ActorRef

    Permalink

    Spawns an actor as a child of this test actor with an auto-generated name, and returns the child's ActorRef.

    Spawns an actor as a child of this test actor with an auto-generated name, and returns the child's ActorRef.

    props

    Props to create the child actor

    supervisorStrategy

    Strategy should decide what to do with failures in the actor.

    Definition Classes
    TestKitBase
  12. def childActorOf(props: Props, name: String, supervisorStrategy: SupervisorStrategy): ActorRef

    Permalink

    Spawns an actor as a child of this test actor, and returns the child's ActorRef.

    Spawns an actor as a child of this test actor, and returns the child's ActorRef.

    props

    Props to create the child actor

    name

    Actor name for the child actor

    supervisorStrategy

    Strategy should decide what to do with failures in the actor.

    Definition Classes
    TestKitBase
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def ensuring(cond: (TestProbe) ⇒ Boolean, msg: ⇒ Any): TestProbe

    Permalink
    Implicit information
    This member is added by an implicit conversion from TestProbe to Ensuring[TestProbe] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (TestProbe) ⇒ Boolean): TestProbe

    Permalink
    Implicit information
    This member is added by an implicit conversion from TestProbe to Ensuring[TestProbe] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: ⇒ Any): TestProbe

    Permalink
    Implicit information
    This member is added by an implicit conversion from TestProbe to Ensuring[TestProbe] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): TestProbe

    Permalink
    Implicit information
    This member is added by an implicit conversion from TestProbe to Ensuring[TestProbe] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  20. def expectMsg[T](max: FiniteDuration, hint: String, obj: T): T

    Permalink

    Receive one message from the test actor and assert that it equals the given object.

    Receive one message from the test actor and assert that it equals the given object. Wait time is bounded by the given duration, with an AssertionFailure being thrown in case of timeout.

    returns

    the received object

    Definition Classes
    TestKitBase
  21. def expectMsg[T](max: FiniteDuration, obj: T): T

    Permalink

    Receive one message from the test actor and assert that it equals the given object.

    Receive one message from the test actor and assert that it equals the given object. Wait time is bounded by the given duration, with an AssertionFailure being thrown in case of timeout.

    returns

    the received object

    Definition Classes
    TestKitBase
  22. def expectMsg[T](obj: T): T

    Permalink

    Same as expectMsg(remainingOrDefault, obj), but correctly treating the timeFactor.

    Same as expectMsg(remainingOrDefault, obj), but correctly treating the timeFactor.

    Definition Classes
    TestKitBase
  23. def expectMsgAllClassOf[T](max: FiniteDuration, obj: Class[_ <: T]*): Seq[T]

    Permalink

    Receive a number of messages from the test actor matching the given number of classes and assert that for each given class one is received which is of that class (equality, not conformance).

    Receive a number of messages from the test actor matching the given number of classes and assert that for each given class one is received which is of that class (equality, not conformance). This construct is useful when the order in which the objects are received is not fixed. Wait time is bounded by the given duration, with an AssertionFailure being thrown in case of timeout.

    Definition Classes
    TestKitBase
  24. def expectMsgAllClassOf[T](obj: Class[_ <: T]*): Seq[T]

    Permalink

    Same as expectMsgAllClassOf(remainingOrDefault, obj...), but correctly treating the timeFactor.

    Same as expectMsgAllClassOf(remainingOrDefault, obj...), but correctly treating the timeFactor.

    Definition Classes
    TestKitBase
  25. def expectMsgAllConformingOf[T](max: FiniteDuration, obj: Class[_ <: T]*): Seq[T]

    Permalink

    Receive a number of messages from the test actor matching the given number of classes and assert that for each given class one is received which conforms to that class (and vice versa).

    Receive a number of messages from the test actor matching the given number of classes and assert that for each given class one is received which conforms to that class (and vice versa). This construct is useful when the order in which the objects are received is not fixed. Wait time is bounded by the given duration, with an AssertionFailure being thrown in case of timeout.

    Beware that one object may satisfy all given class constraints, which may be counter-intuitive.

    Definition Classes
    TestKitBase
  26. def expectMsgAllConformingOf[T](obj: Class[_ <: T]*): Seq[T]

    Permalink

    Same as expectMsgAllConformingOf(remainingOrDefault, obj...), but correctly treating the timeFactor.

    Same as expectMsgAllConformingOf(remainingOrDefault, obj...), but correctly treating the timeFactor.

    Definition Classes
    TestKitBase
  27. def expectMsgAllOf[T](max: FiniteDuration, obj: T*): Seq[T]

    Permalink

    Receive a number of messages from the test actor matching the given number of objects and assert that for each given object one is received which equals it and vice versa.

    Receive a number of messages from the test actor matching the given number of objects and assert that for each given object one is received which equals it and vice versa. This construct is useful when the order in which the objects are received is not fixed. Wait time is bounded by the given duration, with an AssertionFailure being thrown in case of timeout.

      dispatcher ! SomeWork1()
      dispatcher ! SomeWork2()
      expectMsgAllOf(1 second, Result1(), Result2())
    

    Definition Classes
    TestKitBase
  28. def expectMsgAllOf[T](obj: T*): Seq[T]

    Permalink

    Same as expectMsgAllOf(remainingOrDefault, obj...), but correctly treating the timeFactor.

    Same as expectMsgAllOf(remainingOrDefault, obj...), but correctly treating the timeFactor.

    Definition Classes
    TestKitBase
  29. def expectMsgAnyClassOf[C](max: FiniteDuration, obj: Class[_ <: C]*): C

    Permalink

    Receive one message from the test actor and assert that it conforms to one of the given classes.

    Receive one message from the test actor and assert that it conforms to one of the given classes. Wait time is bounded by the given duration, with an AssertionFailure being thrown in case of timeout.

    returns

    the received object

    Definition Classes
    TestKitBase
  30. def expectMsgAnyClassOf[C](obj: Class[_ <: C]*): C

    Permalink

    Same as expectMsgAnyClassOf(remainingOrDefault, obj...), but correctly treating the timeFactor.

    Same as expectMsgAnyClassOf(remainingOrDefault, obj...), but correctly treating the timeFactor.

    Definition Classes
    TestKitBase
  31. def expectMsgAnyOf[T](max: FiniteDuration, obj: T*): T

    Permalink

    Receive one message from the test actor and assert that it equals one of the given objects.

    Receive one message from the test actor and assert that it equals one of the given objects. Wait time is bounded by the given duration, with an AssertionFailure being thrown in case of timeout.

    returns

    the received object

    Definition Classes
    TestKitBase
  32. def expectMsgAnyOf[T](obj: T*): T

    Permalink

    Same as expectMsgAnyOf(remainingOrDefault, obj...), but correctly treating the timeFactor.

    Same as expectMsgAnyOf(remainingOrDefault, obj...), but correctly treating the timeFactor.

    Definition Classes
    TestKitBase
  33. def expectMsgClass[C](max: FiniteDuration, c: Class[C]): C

    Permalink

    Receive one message from the test actor and assert that it conforms to the given class.

    Receive one message from the test actor and assert that it conforms to the given class. Wait time is bounded by the given duration, with an AssertionFailure being thrown in case of timeout.

    returns

    the received object

    Definition Classes
    TestKitBase
  34. def expectMsgClass[C](c: Class[C]): C

    Permalink

    Same as expectMsgClass(remainingOrDefault, c), but correctly treating the timeFactor.

    Same as expectMsgClass(remainingOrDefault, c), but correctly treating the timeFactor.

    Definition Classes
    TestKitBase
  35. def expectMsgPF[T](max: Duration = Duration.Undefined, hint: String = "")(f: PartialFunction[Any, T]): T

    Permalink

    Receive one message from the test actor and assert that the given partial function accepts it.

    Receive one message from the test actor and assert that the given partial function accepts it. Wait time is bounded by the given duration, with an AssertionFailure being thrown in case of timeout.

    Use this variant to implement more complicated or conditional processing.

    returns

    the received object as transformed by the partial function

    Definition Classes
    TestKitBase
  36. def expectMsgType[T](max: FiniteDuration)(implicit t: ClassTag[T]): T

    Permalink

    Receive one message from the test actor and assert that it conforms to the given type (after erasure).

    Receive one message from the test actor and assert that it conforms to the given type (after erasure). Wait time is bounded by the given duration, with an AssertionFailure being thrown in case of timeout.

    returns

    the received object

    Definition Classes
    TestKitBase
  37. def expectMsgType[T](implicit t: ClassTag[T]): T

    Permalink

    Same as expectMsgType[T](remainingOrDefault), but correctly treating the timeFactor.

    Same as expectMsgType[T](remainingOrDefault), but correctly treating the timeFactor.

    Definition Classes
    TestKitBase
  38. def expectNoMessage(): Unit

    Permalink

    Same as expectNoMessage(remainingOrDefault), but correctly treating the timeFactor.

    Same as expectNoMessage(remainingOrDefault), but correctly treating the timeFactor.

    Definition Classes
    TestKitBase
  39. def expectNoMessage(max: FiniteDuration): Unit

    Permalink

    Assert that no message is received for the specified time.

    Assert that no message is received for the specified time. Supplied value is not dilated.

    Definition Classes
    TestKitBase
  40. def expectTerminated(target: ActorRef, max: Duration = Duration.Undefined): Terminated

    Permalink

    Receive one message from the test actor and assert that it is the Terminated message of the given ActorRef.

    Receive one message from the test actor and assert that it is the Terminated message of the given ActorRef. Before calling this method, you have to watch the target actor ref. Wait time is bounded by the given duration, with an AssertionFailure being thrown in case of timeout.

    target

    the actor ref expected to be Terminated

    max

    wait no more than max time, otherwise throw AssertionFailure

    returns

    the received Terminated message

    Definition Classes
    TestKitBase
  41. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  42. def fishForMessage(max: Duration = Duration.Undefined, hint: String = "")(f: PartialFunction[Any, Boolean]): Any

    Permalink

    Hybrid of expectMsgPF and receiveWhile: receive messages while the partial function matches and returns false.

    Hybrid of expectMsgPF and receiveWhile: receive messages while the partial function matches and returns false. Use it to ignore certain messages while waiting for a specific message.

    returns

    the last received message, i.e. the first one for which the partial function returned true

    Definition Classes
    TestKitBase
  43. def fishForSpecificMessage[T](max: Duration = Duration.Undefined, hint: String = "")(f: PartialFunction[Any, T]): T

    Permalink

    Waits for specific message that partial function matches while ignoring all other messages coming in the meantime.

    Waits for specific message that partial function matches while ignoring all other messages coming in the meantime. Use it to ignore any number of messages while waiting for a specific one.

    returns

    result of applying partial function to the last received message, i.e. the first one for which the partial function is defined

    Definition Classes
    TestKitBase
  44. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from TestProbe to StringFormat[TestProbe] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  45. def forward(actor: ActorRef, msg: Any = lastMessage.msg): Unit

    Permalink

    Forward this message as if in the TestActor's receive method with self.forward.

  46. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  47. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  48. def ignoreMsg(f: PartialFunction[Any, Boolean]): Unit

    Permalink

    Ignore all messages in the test actor for which the given partial function returns true.

    Ignore all messages in the test actor for which the given partial function returns true.

    Definition Classes
    TestKitBase
  49. def ignoreNoMsg(): Unit

    Permalink

    Stop ignoring messages in the test actor.

    Stop ignoring messages in the test actor.

    Definition Classes
    TestKitBase
  50. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  51. def lastSender: ActorRef

    Permalink
    Definition Classes
    TestKitBase
  52. def msgAvailable: Boolean

    Permalink

    Query queue status.

    Query queue status.

    Definition Classes
    TestKitBase
  53. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  54. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  55. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  56. def now: FiniteDuration

    Permalink

    Obtain current time (System.nanoTime) as Duration.

    Obtain current time (System.nanoTime) as Duration.

    Definition Classes
    TestKitBase
  57. def receiveN(n: Int, max: FiniteDuration): Seq[AnyRef]

    Permalink

    Receive N messages in a row before the given deadline.

    Receive N messages in a row before the given deadline.

    Definition Classes
    TestKitBase
  58. def receiveN(n: Int): Seq[AnyRef]

    Permalink

    Same as receiveN(n, remaining) but correctly taking into account Duration.timeFactor.

    Same as receiveN(n, remaining) but correctly taking into account Duration.timeFactor.

    Definition Classes
    TestKitBase
  59. def receiveOne(max: Duration): AnyRef

    Permalink

    Receive one message from the internal queue of the TestActor.

    Receive one message from the internal queue of the TestActor. If the given duration is zero, the queue is polled (non-blocking).

    This method does NOT automatically scale its Duration parameter!

    Definition Classes
    TestKitBase
  60. def receiveWhile[T](max: Duration = Duration.Undefined, idle: Duration = Duration.Inf, messages: Int = Int.MaxValue)(f: PartialFunction[AnyRef, T]): Seq[T]

    Permalink

    Receive a series of messages until one does not match the given partial function or the idle timeout is met (disabled by default) or the overall maximum duration is elapsed or expected messages count is reached.

    Receive a series of messages until one does not match the given partial function or the idle timeout is met (disabled by default) or the overall maximum duration is elapsed or expected messages count is reached. Returns the sequence of messages.

    Note that it is not an error to hit the max duration in this case.

    One possible use of this method is for testing whether messages of certain characteristics are generated at a certain rate:

    test ! ScheduleTicks(100 millis)
    val series = receiveWhile(750 millis) {
        case Tick(count) => count
    }
    assert(series == (1 to 7).toList)
    Definition Classes
    TestKitBase
  61. def ref: ActorRef

    Permalink

    Shorthand to get the testActor.

  62. def remaining: FiniteDuration

    Permalink

    Obtain time remaining for execution of the innermost enclosing within block or throw an AssertionError if no within block surrounds this call.

    Obtain time remaining for execution of the innermost enclosing within block or throw an AssertionError if no within block surrounds this call.

    Definition Classes
    TestKitBase
  63. def remainingOr(duration: FiniteDuration): FiniteDuration

    Permalink

    Obtain time remaining for execution of the innermost enclosing within block or missing that it returns the given duration.

    Obtain time remaining for execution of the innermost enclosing within block or missing that it returns the given duration.

    Definition Classes
    TestKitBase
  64. def remainingOrDefault: FiniteDuration

    Permalink

    Obtain time remaining for execution of the innermost enclosing within block or missing that it returns the properly dilated default for this case from settings (key "akka.test.single-expect-default").

    Obtain time remaining for execution of the innermost enclosing within block or missing that it returns the properly dilated default for this case from settings (key "akka.test.single-expect-default").

    Definition Classes
    TestKitBase
  65. def reply(msg: Any): Unit

    Permalink

    Send message to the sender of the last dequeued message.

  66. def send(actor: ActorRef, msg: Any): Unit

    Permalink

    Send message to an actor while using the probe's TestActor as the sender.

    Send message to an actor while using the probe's TestActor as the sender. Replies will be available for inspection with all of TestKit's assertion methods.

  67. def sender(): ActorRef

    Permalink

    Get sender of last received message.

  68. def setAutoPilot(pilot: AutoPilot): Unit

    Permalink

    Install an AutoPilot to drive the testActor: the AutoPilot will be run for each received message and can be used to send or forward messages, etc.

    Install an AutoPilot to drive the testActor: the AutoPilot will be run for each received message and can be used to send or forward messages, etc. Each invocation must return the AutoPilot for the next round.

    Definition Classes
    TestKitBase
  69. def shutdown(actorSystem: ActorSystem = system, duration: Duration = 10.seconds.dilated.min(10.seconds), verifySystemShutdown: Boolean = false): Unit

    Permalink

    Shut down an actor system and wait for termination.

    Shut down an actor system and wait for termination. On failure debug output will be logged about the remaining actors in the system.

    If verifySystemShutdown is true, then an exception will be thrown on failure.

    Definition Classes
    TestKitBase
  70. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  71. implicit val system: ActorSystem

    Permalink
    Definition Classes
    TestKitTestKitBase
  72. val testActor: ActorRef

    Permalink

    ActorRef of the test actor.

    ActorRef of the test actor. Access is provided to enable e.g. registration as message target.

    Definition Classes
    TestKitBase
  73. def testActorName: String

    Permalink

    Defines the testActor name.

    Defines the testActor name.

    Attributes
    protected
    Definition Classes
    TestProbeTestKitBase
  74. val testKitSettings: TestKitSettings

    Permalink
    Definition Classes
    TestKitBase
  75. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  76. def unwatch(ref: ActorRef): ActorRef

    Permalink

    Have the testActor stop watching someone (i.e.

    Have the testActor stop watching someone (i.e. context.unwatch(...)).

    Definition Classes
    TestKitBase
  77. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  78. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  79. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  80. def watch(ref: ActorRef): ActorRef

    Permalink

    Have the testActor watch someone (i.e.

    Have the testActor watch someone (i.e. context.watch(...)).

    Definition Classes
    TestKitBase
  81. def within[T](max: FiniteDuration)(f: ⇒ T): T

    Permalink

    Same as calling within(0 seconds, max)(f).

    Same as calling within(0 seconds, max)(f).

    Definition Classes
    TestKitBase
  82. def within[T](min: FiniteDuration, max: FiniteDuration)(f: ⇒ T): T

    Permalink

    Execute code block while bounding its execution time between min and max.

    Execute code block while bounding its execution time between min and max. within blocks may be nested. All methods in this trait which take maximum wait times are available in a version which implicitly uses the remaining time governed by the innermost enclosing within block.

    Note that the timeout is scaled using Duration.dilated, which uses the configuration entry "akka.test.timefactor", while the min Duration is not.

    val ret = within(50 millis) {
      test ! "ping"
      expectMsgClass(classOf[String])
    }
    Definition Classes
    TestKitBase
  83. def [B](y: B): (TestProbe, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from TestProbe to ArrowAssoc[TestProbe] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def expectNoMsg(max: FiniteDuration): Unit

    Permalink

    Assert that no message is received for the specified time.

    Assert that no message is received for the specified time. NOTE! Supplied value is always dilated.

    Definition Classes
    TestKitBase
    Annotations
    @deprecated
    Deprecated

    (Since version 2.5.5) Use expectNoMessage instead

  2. def expectNoMsg(): Unit

    Permalink

    Same as expectNoMsg(remainingOrDefault), but correctly treating the timeFactor.

    Same as expectNoMsg(remainingOrDefault), but correctly treating the timeFactor.

    Definition Classes
    TestKitBase
    Annotations
    @deprecated
    Deprecated

    (Since version 2.5.5) Use expectNoMessage instead

Inherited from TestKit

Inherited from TestKitBase

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from TestProbe to any2stringadd[TestProbe]

Inherited by implicit conversion StringFormat from TestProbe to StringFormat[TestProbe]

Inherited by implicit conversion Ensuring from TestProbe to Ensuring[TestProbe]

Inherited by implicit conversion ArrowAssoc from TestProbe to ArrowAssoc[TestProbe]

Ungrouped