Exemplo n.º 1
0
        public bool TestExpectationIfAnyMessageOnQueue(SequenceExecutionContext context)
        {
            object[] nextMessage = context.GetNextMessage(_owningSequence);

            if (nextMessage == null)
            {
                return(false);
            }

            return(_expectation.Met(nextMessage));
        }