Package ai.tock.bot.definition
Interface TestBehaviour
-
- All Implemented Interfaces:
public interface TestBehaviourDefine values and behaviour for integration tests.
-
-
Method Summary
Modifier and Type Method Description Unitsetup(BotBus bus)Setup UserPreferences from the bus. Unitsetup(UserPreferences userPreferences, ConnectorType connectorType, Locale locale)Setup user preferences for test context. Unitcleanup(BotBus bus)abstract StringgetFirstName()The default first name used in tests. abstract StringgetLastName()The default last name used in tests. -
-
Method Detail
-
setup
Unit setup(BotBus bus)
Setup UserPreferences from the bus.
-
setup
Unit setup(UserPreferences userPreferences, ConnectorType connectorType, Locale locale)
Setup user preferences for test context.
-
getFirstName
abstract String getFirstName()
The default first name used in tests.
-
getLastName
abstract String getLastName()
The default last name used in tests.
-
-
-
-