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