Share via


BotAssert Class

Definition

Provides methods for debugging Bot Builder code.

public class BotAssert
type BotAssert = class
Public Class BotAssert
Inheritance
BotAssert

Constructors

BotAssert()

Methods

ActivityListNotNull(IEnumerable<Activity>)

Checks that an activity collection is not null.

ActivityNotNull(IActivity)

Checks that an activity object is not null.

ContextNotNull(ITurnContext)

Checks that a context object is not null.

ConversationReferenceNotNull(ConversationReference)

Checks that a conversation reference object is not null.

MiddlewareNotNull(IEnumerable<IMiddleware>)

Checks that a middleware collection is not null.

MiddlewareNotNull(IMiddleware)

Checks that a middleware object is not null.

Applies to