Hi all, the following line of code
val ((pub, mat), sub) = TestSource.probe[Int].viaMat(Flow[Int])(Keep.both).toMat(TestSink.probe)(Keep.both).run() throws a ClassCastException: java.lang.ClassCastException: akka.stream.testkit.TestPublisher$Probe cannot be cast to scala.Tuple2 it seems that the viaMat(...)(Keep.both) does not what it promises. Mit freundlichen Grüßen / Best regards Dr. Stefan Wachter Bosch Software Innovations GmbH Communications (INST-ICM/BSV-BS) Stuttgarterstr. 130 71332 Waiblingen GERMANY www.bosch-si.de www.blog.bosch-si.com<http://www.blog.bosch-si.com/> Tel. +49 711 811 58 477 Fax +49 711 811 58 100 external.stefan.wach...@bosch-si.com<mailto:daniel.mau...@bosch-si.com> -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.