Persistence testkit implementation #15571 (#26825)

This commit is contained in:
Kirill Yankov 2020-03-20 22:18:43 +09:00 committed by GitHub
parent 630e712b9f
commit 41f20cbb81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
43 changed files with 5726 additions and 3 deletions

View file

@ -0,0 +1,21 @@
/*
* 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)
}
}