public class BotBusMockInitializersKt
@NotNull public static BotBusMock startNewBusMock(@NotNull ai.tock.bot.definition.BotDefinition $receiver, @NotNull TestContext testContext, @NotNull ai.tock.bot.definition.StoryDefinition story, @NotNull ai.tock.bot.connector.ConnectorType connectorType, @NotNull java.util.Locale locale, @NotNull ai.tock.bot.engine.user.PlayerId userId)
Provides a mock initialized with the specified StoryDefinition and starts the story.
@NotNull public static BotBusMock newBusMock(@NotNull ai.tock.bot.definition.BotDefinition $receiver, @NotNull TestContext testContext, @NotNull ai.tock.bot.definition.StoryDefinition story, @NotNull ai.tock.bot.connector.ConnectorType connectorType, @NotNull java.util.Locale locale, @NotNull ai.tock.bot.engine.user.PlayerId userId)
Provides a mock initialized with the specified StoryDefinition.
@NotNull public static BotBusMockContext newBusMockContext(@NotNull ai.tock.bot.definition.BotDefinition $receiver, @NotNull TestContext testContext, @NotNull ai.tock.bot.definition.StoryDefinition story, @NotNull ai.tock.bot.connector.ConnectorType connectorType, @NotNull java.util.Locale locale, @NotNull ai.tock.bot.engine.user.PlayerId userId, @NotNull ai.tock.bot.engine.user.PlayerId botId, @NotNull ai.tock.bot.engine.action.Action action, @NotNull ai.tock.translator.UserInterfaceType userInterfaceType, @NotNull ai.tock.bot.engine.user.UserPreferences userPreferences)
Provides a mock context initialized with the specified StoryDefinition.
@NotNull public static BotBusMock startBusMock(@NotNull TestContext testContext)
Provides a mock context initialized with the specified class TestContext and runs the story.
class TestContext@NotNull public static BotBusMock busMock(@NotNull TestContext testContext)
Provides a mock context initialized with the specified class TestContext.
class TestContext