Esempio n. 1
0
 public static ParameterExpectation Expect(IParameterValueWithType parameter)
 {
     Type type = parameter.Type;
     if (parameter.ExactMatch)
     {
         return Expect(parameter.Name).Of(type).ItMustBeAnExactMatch();
     }
     return Expect(parameter.Name).Of(type);
 }
        public static ParameterExpectation Expect(IParameterValueWithType parameter)
        {
            Type type = parameter.Type;

            if (parameter.ExactMatch)
            {
                return(Expect(parameter.Name).Of(type).ItMustBeAnExactMatch());
            }
            return(Expect(parameter.Name).Of(type));
        }