tock / ai.tock.bot.test.junit / TockJUnit4Rule / newBusMockContext

newBusMockContext

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

Provides a mock context initialized with the specified StoryDefinition.