示例#1
0
        public void VerifyMessageBodyWithEmptyExtend(ElementTypeIdentifierPath[] messageTypes)
        {
            Assert.NotNull(messageTypes);

            ExpectedBody.AddRange(
                messageTypes.Select <ElementTypeIdentifierPath, IMessageBodyItem>(
                    x => new ExtendStatement {
                MessageType = x
            }).ToArray()
                );
        }
示例#2
0
 public void VerifyMessageBodyWithOption(OptionIdentifierPath[] optionNames, IVariant[] optionValues)
 {
     ExpectedBody.AddRange(
         ElaborateOptions <OptionStatement>(optionNames, optionValues).ToArray <IMessageBodyItem>()
         );
 }