Class BotBusMockInitializersKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static 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 static BotBusMock newBusMock(BotDefinition $self, TestContext testContext, StoryDefinition story, ConnectorType connectorType, Locale locale, PlayerId userId) Provides a mock initialized with the specified StoryDefinition.
      final static BotBusMockContext newBusMockContext(BotDefinition $self, TestContext testContext, StoryDefinition story, ConnectorType connectorType, Locale locale, PlayerId userId, PlayerId botId, Action action, UserInterfaceType userInterfaceType, UserPreferences userPreferences, List<ConnectorType> secondaryConnectorTypes) Provides a mock context initialized with the specified StoryDefinition.
      final static BotBusMock startBusMock(TestContext testContext) Provides a mock context initialized with the specified TestContext and runs the story.
      final static 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
    • Constructor Detail

    • Method Detail

      • startNewBusMock

         final static 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 static BotBusMock newBusMock(BotDefinition $self, TestContext testContext, StoryDefinition story, ConnectorType connectorType, Locale locale, PlayerId userId)

        Provides a mock initialized with the specified StoryDefinition.

      • newBusMockContext

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

        Provides a mock context initialized with the specified StoryDefinition.