Exemplo n.º 1
0
 //public void AssertTupleInvokedWith(string arg1, int arg2) => _paramTuple.AssertInvokedWith(new Tuple<string, int>(arg1, arg2));
 private string Signature() =>
 $"public void Assert{_methodName.Unique()}InvokedWith({_methodArgs.Definition()}) => _{_methodName.CamelCaseUnique()}.AssertInvokedWith({_methodArgs.InvokedArgs()});";
Exemplo n.º 2
0
 public string Signature() =>
 $"public {ResponseType()} {_methodName.Actual()}({_methodArgs.Definition()}) => " +
 $"_{_methodName.CamelCaseUnique()}.{InvokeMethod()}({_methodArgs.InvokedArgs()});";