Refining the DeadLetterActorRef serialization test to be a bit more specific
This commit is contained in:
parent
f427c99814
commit
2f52f43fa8
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ class SerializeSpec extends AkkaSpec {
|
||||||
val in = new ObjectInputStream(new ByteArrayInputStream(outbuf.toByteArray))
|
val in = new ObjectInputStream(new ByteArrayInputStream(outbuf.toByteArray))
|
||||||
Serialization.app.withValue(a) {
|
Serialization.app.withValue(a) {
|
||||||
val deadLetters = in.readObject().asInstanceOf[DeadLetterActorRef]
|
val deadLetters = in.readObject().asInstanceOf[DeadLetterActorRef]
|
||||||
deadLetters must be(a.deadLetters)
|
(deadLetters eq a.deadLetters) must be(true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue