tock / ai.tock.bot.definition / TestBehaviour

# TestBehaviour

`interface TestBehaviour` (source)

Define values and behaviour for integration tests.

### Properties

#### firstName | The default first name used in tests. `abstract val firstName: String`
#### lastName | The default last name used in tests. `abstract val lastName: String`

### Functions

#### cleanup | `open fun cleanup(bus: BotBus): Unit`
#### setup | Setup UserPreferences from the bus. `open fun setup(bus: BotBus): Unit` Setup user preferences for test context. `open fun setup(userPreferences: UserPreferences, connectorType: ConnectorType, locale: Locale): Unit`

### Inheritors

#### TestBehaviourBase | Base implementation of TestBehaviour. `open class TestBehaviourBase : TestBehaviour`