This commit is contained in:
parent
d4c16be279
commit
6581f70c2e
1 changed files with 5 additions and 3 deletions
|
|
@ -159,9 +159,11 @@ class LoggingReceiveSpec extends AnyWordSpec with BeforeAndAfterAll {
|
|||
}
|
||||
})
|
||||
actor ! "buh"
|
||||
expectMsg(
|
||||
Logging
|
||||
.Info(actor.path.toString, actor.underlyingActor.getClass, "received handled message buh from " + self))
|
||||
fishForSpecificMessage() {
|
||||
case Logging.Info(src, _, msg)
|
||||
if src == actor.path.toString && msg == "received handled message buh from " + self =>
|
||||
()
|
||||
}
|
||||
expectMsg("x")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue