-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NullReferenceException #18
Comments
Hi, thanks for reporting this. From the looks of it, |
I'm calling a method which looks like that.
Where the TEntity is |
This appears to be a bug. I will investigate and fix it in the near future. Thanks for reporting again! |
Hi To make it easier to reproduce I created a new project which contains the structure we use. Here I use Moq to abstract the repository. In the real tests there is a repository which abstracts the Entity Framework to access the database. I'm not sure if this is relevant for this bug. However, I'm also not able to get this project run. There is another exception which is thrown. May this is depended to the this issue. Please let me know when you need additional help. Greetings |
Hello @vanderkleij |
I am also today, trying to smock DateTime.Now / Today |
Hi
I try to use Smock like this
Then I get a null reference:
Is this a bug or a limitation?
EDIT:
For the same code, when running a different test I get another error
The text was updated successfully, but these errors were encountered: