Package 

Class BotBusMockInitializersKt

    • Method Summary

      Modifier and Type Method Description
      final BotBusMock startNewBusMock(BotDefinition $self, TestContext testContext, StoryDefinition story, ConnectorType connectorType, Locale locale, PlayerId userId) Provides a mock initialized with the specified StoryDefinition and starts the story.
      final BotBusMock newBusMock(BotDefinition $self, TestContext testContext, StoryDefinition story, ConnectorType connectorType, Locale locale, PlayerId userId) Provides a mock initialized with the specified StoryDefinition.
      final BotBusMockContext newBusMockContext(BotDefinition $self, TestContext testContext, StoryDefinition story, ConnectorType connectorType, Locale locale, PlayerId userId, PlayerId botId, Action action, UserInterfaceType userInterfaceType, UserPreferences userPreferences) Provides a mock context initialized with the specified StoryDefinition.
      final BotBusMock startBusMock(TestContext testContext) Provides a mock context initialized with the specified TestContext and runs the story.
      final BotBusMock busMock(TestContext testContext) Provides a mock context initialized with the specified TestContext.
      • Methods inherited from class java.lang.Object

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

      • startNewBusMock

         final BotBusMock startNewBusMock(BotDefinition $self, TestContext testContext, StoryDefinition story, ConnectorType connectorType, Locale locale, PlayerId userId)

        Provides a mock initialized with the specified StoryDefinition and starts the story.

      • newBusMock

         final BotBusMock newBusMock(BotDefinition $self, TestContext testContext, StoryDefinition story, ConnectorType connectorType, Locale locale, PlayerId userId)

        Provides a mock initialized with the specified StoryDefinition.

      • newBusMockContext

         final BotBusMockContext newBusMockContext(BotDefinition $self, TestContext testContext, StoryDefinition story, ConnectorType connectorType, Locale locale, PlayerId userId, PlayerId botId, Action action, UserInterfaceType userInterfaceType, UserPreferences userPreferences)

        Provides a mock context initialized with the specified StoryDefinition.