Class TestKitJUnit5Extension

  • All Implemented Interfaces:
    org.junit.jupiter.api.extension.AfterAllCallback, org.junit.jupiter.api.extension.BeforeTestExecutionCallback, org.junit.jupiter.api.extension.Extension

    public final class TestKitJUnit5Extension
    extends java.lang.Object
    implements org.junit.jupiter.api.extension.AfterAllCallback, org.junit.jupiter.api.extension.BeforeTestExecutionCallback
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterAll​(org.junit.jupiter.api.extension.ExtensionContext context)
      Shutdown testKit
      void beforeTestExecution​(org.junit.jupiter.api.extension.ExtensionContext context)
      Get a reference to the field annotated with @JUnit5Testkit JUnit5TestKit
      scala.Option<ActorTestKit> testKit()  
      void testKit_$eq​(scala.Option<ActorTestKit> x$1)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TestKitJUnit5Extension

        public TestKitJUnit5Extension()
    • Method Detail

      • afterAll

        public void afterAll​(org.junit.jupiter.api.extension.ExtensionContext context)
        Shutdown testKit
        Specified by:
        afterAll in interface org.junit.jupiter.api.extension.AfterAllCallback
      • beforeTestExecution

        public void beforeTestExecution​(org.junit.jupiter.api.extension.ExtensionContext context)
        Get a reference to the field annotated with @JUnit5Testkit JUnit5TestKit
        Specified by:
        beforeTestExecution in interface org.junit.jupiter.api.extension.BeforeTestExecutionCallback
      • testKit_$eq

        public void testKit_$eq​(scala.Option<ActorTestKit> x$1)