1
Vote

I am not able to use lamda expressions inside the Expects.MethodWith

description

I am not able to use lamda expressions inside the Expects.MethodWith . If i am passing the lamda expressions it is always throwing exception.
Ex : Expect.On(this.shedulerAppService)
        .AtLeast(1)
        .MethodWith(p => p.GetFiltered(it=>it.ID==3)).Will(null);

comments