H
how to sftp a file from dotnetcode
Guest
How to Moq a method in C# whose input parameter is of type Enum?
Moq.MockRepository mock = new Moq.MockRepository(MockBehaviour.Loose);
var myInstance =mock.Create<IMyMethod>();
myInstance.SetUp(x=>x.myMethod(It.IsAny<**`EnumType`**>).Verifiable();
How to Give ENUMType here
BSK
Continue reading...
Moq.MockRepository mock = new Moq.MockRepository(MockBehaviour.Loose);
var myInstance =mock.Create<IMyMethod>();
myInstance.SetUp(x=>x.myMethod(It.IsAny<**`EnumType`**>).Verifiable();
How to Give ENUMType here
BSK
Continue reading...