Package 

Interface TestBehaviour


  • 
    public interface TestBehaviour
    
                        

    Define values and behaviour for integration tests.

    • Method Summary

      Modifier and Type Method Description
      Unit setup(BotBus bus) Setup UserPreferences from the bus.
      Unit setup(UserPreferences userPreferences, ConnectorType connectorType, Locale locale) Setup user preferences for test context.
      Unit cleanup(BotBus bus)
      abstract String getFirstName() The default first name used in tests.
      abstract String getLastName() The default last name used in tests.
      • Methods inherited from class ai.tock.bot.definition.TestBehaviour

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait