pekko/akka-persistence-testkit/src/test/scala/akka/persistence/testkit/javadsl/TestKitSerializeSpec.scala
2020-03-20 14:18:43 +01:00

21 lines
552 B
Scala

/*
* Copyright (C) 2018-2020 Lightbend Inc. <https://www.lightbend.com>
*/
package akka.persistence.testkit.javadsl
import akka.actor.Props
import akka.persistence.testkit._
class TestKitSerializeSpec extends CommonTestKitTests {
override lazy val system = initSystemWithEnabledPlugin("TestKitSerializeSpec", true, true)
override def specificTests(): Unit = "fail next nonserializable persisted" in {
val pid = randomPid()
val a = system.actorOf(Props(classOf[A], pid, None))
a ! new C
watch(a)
expectTerminated(a)
}
}