示例#1
0
            public PendingSpecificationInfo?ToPendingSpecificationInfo()
            {
                if (_callSpecification != null)
                {
                    return(PendingSpecificationInfo.FromCallSpecification(_callSpecification));
                }

                if (_lastCall != null)
                {
                    return(PendingSpecificationInfo.FromLastCall(_lastCall));
                }

                return(null);
            }
 public void SetLastCall(ICall lastCall)
 {
     _valueHolder.Value = PendingSpecificationInfo.FromLastCall(lastCall);
 }
 public void SetLastCall(ICall lastCall)
 {
     _substitutionContext.PendingSpecificationInfo = PendingSpecificationInfo.FromLastCall(lastCall);
 }