mardi 26 juillet 2016

C# Stub method for multi parameter method

I am simply trying to figure out how to name a stub method that has multiple parameters. Example

MyMethod(MyClass mc,DateTime date,Dictionary<string,string> fail)
StubMyMethodMyClassDateTimeDictionarystringstring <----fails

Error is fakes does not contain a definition for MyMethod. Except if it only had 1 parameter it would work just fine. So i think my naming convention is missing something. Thanks

Aucun commentaire:

Enregistrer un commentaire