tock / ai.tock.bot.test / BotBusMockContext / <init>

# <init>

`BotBusMockContext(applicationId: String, userId: PlayerId, botId: PlayerId, botDefinition: BotDefinition, storyDefinition: StoryDefinition, action: Action = SendSentence(userId, applicationId, botId, ""), userInterfaceType: UserInterfaceType = UserInterfaceType.textChat, userPreferences: UserPreferences = UserPreferences(), connectorType: ConnectorType = defaultTestConnectorType, testContext: TestContext = currentTestContext)`
`BotBusMockContext(botDefinition: BotDefinition, storyDefinition: StoryDefinition, applicationId: String = botDefinition.botId, userId: PlayerId = PlayerId("user"), botId: PlayerId = PlayerId("bot", PlayerType.bot), action: Action = SendSentence(userId, applicationId, botId, ""), userInterfaceType: UserInterfaceType = UserInterfaceType.textChat, userPreferences: UserPreferences = UserPreferences(), connectorType: ConnectorType = defaultTestConnectorType, testContext: TestContext = currentTestContext)` `BotBusMockContext(userTimeline: UserTimeline, dialog: Dialog, story: Story, firstAction: Action, botDefinition: BotDefinition, i18nProvider: I18nKeyProvider, userInterfaceType: UserInterfaceType = UserInterfaceType.textChat, connectorType: ConnectorType = defaultTestConnectorType, testContext: TestContext = currentTestContext, snapshots: MutableList<Snapshot> = mutableListOf())`

The context of the test.