public void TabSuggestedActionsInits(IList <CardAction> actions)
        {
            var suggestedActions = new TabSuggestedActions()
            {
                Actions = actions
            };

            Assert.NotNull(suggestedActions);
            Assert.IsType <TabSuggestedActions>(suggestedActions);
            Assert.Equal(actions, suggestedActions.Actions);
        }
Esempio n. 2
0
        public void TabResponsePayloadInits(string tabType, TabResponseCards value, TabSuggestedActions suggestedActions)
        {
            var resPayload = new TabResponsePayload()
            {
                Type             = tabType,
                Value            = value,
                SuggestedActions = suggestedActions
            };

            Assert.NotNull(resPayload);
            Assert.IsType <TabResponsePayload>(resPayload);
        }