Skip to main content
Share Your Experience: Take the 2024 Developer Survey
2 votes
Accepted

Testing abstract SettingConverter with mocks

Design I would argue that this base class doesn't add enough state / operations to be a base class. Consider using a mechanism other than inheritance to accomplish boiler-plate fallback serialisation....
dfhwze's user avatar
  • 13.9k
2 votes

Unit test for a CreateUser() method using JustMock lite

I think you are not testing everything. The API should create a user but the only thing you assert is the ActionResult ...
t3chb0t's user avatar
  • 44.3k

Only top scored, non community-wiki answers of a minimum length are eligible