-
public final class BotBusAssertsKt
-
-
Method Summary
Modifier and Type Method Description final UnittoBeSimpleTextMessage(AssertionPlant<BotBusMockLog> $self, String expectedText)final UnitasGenericMessage(AssertionPlant<BotBusMockLog> $self, Function1<AssertionPlant<GenericMessage>, Unit> assertionCreator)final UnitasGenericMessage(ConnectorMessage $self, Function1<AssertionPlant<GenericMessage>, Unit> assertionCreator)final AssertionPlant<Map<String, String>>toHaveGlobalText(AssertionPlant<GenericMessage> $self, String expectedText, String textName)final AssertionPlant<List<Choice>>toHaveGlobalChoices(AssertionPlant<GenericMessage> $self, String expectedChoice, String otherExpectedChoices)final AssertionPlant<List<Choice>>toHaveNotGlobalChoices(AssertionPlant<GenericMessage> $self, String unexpectedChoice, String otherUnexpectedChoices)final AssertionPlant<List<Choice>>toHaveExactlyGlobalChoices(AssertionPlant<GenericMessage> $self, String expectedChoice, String otherExpectedChoices)final AssertionPlant<List<GenericElement>>toHaveElement(AssertionPlant<GenericMessage> $self, Integer index, Function1<AssertionPlant<GenericElement>, Unit> assertionCreator)final AssertionPlant<Map<String, String>>toHaveText(AssertionPlant<GenericElement> $self, String expectedText, String textName)final AssertionPlant<Map<String, String>>toHaveTitle(AssertionPlant<GenericElement> $self, String expectedTitle)final UnittoHaveTitle(AssertionPlant<Choice> $self, String title)final AssertionPlant<Map<String, String>>toHaveSubtitle(AssertionPlant<GenericElement> $self, String expectedSubtitle)final AssertionPlant<List<Choice>>toHaveChoices(AssertionPlant<GenericElement> $self, String expectedChoice, String otherExpectedChoices)final AssertionPlant<List<Choice>>toHaveNotChoices(AssertionPlant<GenericElement> $self, String unexpectedChoice, String otherUnexpectedChoices)final AssertionPlant<List<Choice>>toHaveExactlyChoices(AssertionPlant<GenericElement> $self, String expectedChoice, String otherExpectedChoices)final AssertionPlant<List<Attachment>>toHaveAttachment(AssertionPlant<GenericElement> $self, Function1<AssertionPlant<Attachment>, Unit> assertionCreator)final AssertionPlant<String>toHaveUrl(AssertionPlant<Attachment> $self, String url)final AssertionPlant<SendAttachment.AttachmentType>toBeImage(AssertionPlant<Attachment> $self)final AssertionPlant<List<Choice>>toHaveChoice(AssertionPlant<GenericMessage> $self, String title, Function1<AssertionPlant<Choice>, Unit> assertionCreator)final UnittoHaveIntent(AssertionPlant<Choice> $self, String intentName)final UnittoHaveParameter(AssertionPlant<Choice> $self, ParameterKey key, String value)final UnittoHaveParameter(AssertionPlant<Choice> $self, String key, String value)-
-
Method Detail
-
toBeSimpleTextMessage
final Unit toBeSimpleTextMessage(AssertionPlant<BotBusMockLog> $self, String expectedText)
-
asGenericMessage
final Unit asGenericMessage(AssertionPlant<BotBusMockLog> $self, Function1<AssertionPlant<GenericMessage>, Unit> assertionCreator)
-
asGenericMessage
final Unit asGenericMessage(ConnectorMessage $self, Function1<AssertionPlant<GenericMessage>, Unit> assertionCreator)
-
toHaveGlobalText
final AssertionPlant<Map<String, String>> toHaveGlobalText(AssertionPlant<GenericMessage> $self, String expectedText, String textName)
-
toHaveGlobalChoices
final AssertionPlant<List<Choice>> toHaveGlobalChoices(AssertionPlant<GenericMessage> $self, String expectedChoice, String otherExpectedChoices)
-
toHaveNotGlobalChoices
final AssertionPlant<List<Choice>> toHaveNotGlobalChoices(AssertionPlant<GenericMessage> $self, String unexpectedChoice, String otherUnexpectedChoices)
-
toHaveExactlyGlobalChoices
final AssertionPlant<List<Choice>> toHaveExactlyGlobalChoices(AssertionPlant<GenericMessage> $self, String expectedChoice, String otherExpectedChoices)
-
toHaveElement
final AssertionPlant<List<GenericElement>> toHaveElement(AssertionPlant<GenericMessage> $self, Integer index, Function1<AssertionPlant<GenericElement>, Unit> assertionCreator)
-
toHaveText
final AssertionPlant<Map<String, String>> toHaveText(AssertionPlant<GenericElement> $self, String expectedText, String textName)
-
toHaveTitle
final AssertionPlant<Map<String, String>> toHaveTitle(AssertionPlant<GenericElement> $self, String expectedTitle)
-
toHaveTitle
final Unit toHaveTitle(AssertionPlant<Choice> $self, String title)
-
toHaveSubtitle
final AssertionPlant<Map<String, String>> toHaveSubtitle(AssertionPlant<GenericElement> $self, String expectedSubtitle)
-
toHaveChoices
final AssertionPlant<List<Choice>> toHaveChoices(AssertionPlant<GenericElement> $self, String expectedChoice, String otherExpectedChoices)
-
toHaveNotChoices
final AssertionPlant<List<Choice>> toHaveNotChoices(AssertionPlant<GenericElement> $self, String unexpectedChoice, String otherUnexpectedChoices)
-
toHaveExactlyChoices
final AssertionPlant<List<Choice>> toHaveExactlyChoices(AssertionPlant<GenericElement> $self, String expectedChoice, String otherExpectedChoices)
-
toHaveAttachment
final AssertionPlant<List<Attachment>> toHaveAttachment(AssertionPlant<GenericElement> $self, Function1<AssertionPlant<Attachment>, Unit> assertionCreator)
-
toBeImage
final AssertionPlant<SendAttachment.AttachmentType> toBeImage(AssertionPlant<Attachment> $self)
-
toHaveChoice
final AssertionPlant<List<Choice>> toHaveChoice(AssertionPlant<GenericMessage> $self, String title, Function1<AssertionPlant<Choice>, Unit> assertionCreator)
-
toHaveIntent
final Unit toHaveIntent(AssertionPlant<Choice> $self, String intentName)
-
toHaveParameter
final Unit toHaveParameter(AssertionPlant<Choice> $self, ParameterKey key, String value)
-
toHaveParameter
final Unit toHaveParameter(AssertionPlant<Choice> $self, String key, String value)
-
-
-
-