Package 

Class TockJUnit4Rule

    • Method Summary

      Modifier and Type Method Description
      final BotBusMock startNewBusMock(StoryDefinition story, ConnectorType connectorType, Locale locale, PlayerId userId) Provides a mock initialized with the specified StoryDefinition and starts the story.
      final BotBusMock newBusMock(StoryDefinition story, ConnectorType connectorType, Locale locale, PlayerId userId) Provides a mock initialized with the specified StoryDefinition.
      final BotBusMockContext newBusMockContext(StoryDefinition story, ConnectorType connectorType, Locale locale, PlayerId userId) Provides a mock context initialized with the specified StoryDefinition.
      final BotBusMock startBusMock() Provides a mock context initialized with the current testContext and runs the bus.
      final BotBusMock busMock() Provides a mock context initialized with the current testContext.
      <ERROR CLASS> ,)>apply(<ERROR CLASS> base, <ERROR CLASS> description)
      final T getTestContext()
      final BotDefinition getBotDefinition()
      final TestLifecycle<T> getLifecycle()
      • Methods inherited from class ai.tock.bot.test.junit.TockJUnit4Rule

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait