For my test pupose method i want to put any integer value besides 0. Nevertheless it always put 0 even if i say like this:
It.Is<int>(x => x > 0)
Can anyone tell me what is wrong?
Full code:
[Test]
public void Test()
{
DerService.Add(new Demo(It.Is<int>(x => x > 0), new Gert()), false);
SigQuery.Verify(uow => uow.IsExistRef(It.IsAny<int>()), Times.Once);
}