Daily Archives: January 3, 2014

Mock the Clock with an Aspect

Recently I have had problems with unit-tests that are time dependent. There are tests that test for time-out and similar time related issues. I felt that this mus be solvable by mocking the system clock. But I had problems doing it because I don’t want to change the whole implementation. The best is if it… Read More »