All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.ruippeixotog.pekko.testkit.specs2.PekkoMatchers.scala Maven / Gradle / Ivy

The newest version!
package net.ruippeixotog.pekko.testkit.specs2

import scala.concurrent.duration.FiniteDuration

import org.apache.pekko.testkit.TestKitBase

import net.ruippeixotog.akka.testkit.specs2.impl.ClassicMatchers

trait PekkoMatchers extends ClassicMatchers[TestKitBase] {
  protected def defaultReceiveTimeout(testkit: TestKitBase): FiniteDuration =
    testkit.remainingOrDefault

  protected def receiveOne(probe: TestKitBase, timeout: FiniteDuration): AnyRef =
    probe.receiveOne(timeout)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy