Unit testing FakeItEasy
I'm currently working on a project and I want to implement Unit tests for certain cases.
After some research I decided to use FakeItEasy, but honestly I have NO clue what and how I am supposed to write out certain cases. The following example is some test I at least managed to write without having any errors and having succeeded after running the test. Though I should get a list of Dossiers back, I checked the result using Debugging and it should return a full list. Is there anyone that could briefly help me figure out how this "mocking" works and how I should write out this case?
After some research I decided to use FakeItEasy, but honestly I have NO clue what and how I am supposed to write out certain cases. The following example is some test I at least managed to write without having any errors and having succeeded after running the test. Though I should get a list of Dossiers back, I checked the result using Debugging and it should return a full list. Is there anyone that could briefly help me figure out how this "mocking" works and how I should write out this case?
