tock / ai.tock.bot.test.junit / TockJUnit5ExtensionBase / startNewBusMock

startNewBusMock

fun startNewBusMock(story: StoryDefinition = testContext.defaultStoryDefinition(botDefinition), connectorType: ConnectorType = testContext.defaultConnectorType(), locale: Locale = testContext.defaultLocale(), userId: PlayerId = testContext.defaultPlayerId()): BotBusMock (source)

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