Unit testing is based on the idea that units under test behave in a reproducible and deterministic way. If the unit's code is dependent on external context factors like time or location, these factors have to be controlled in order to produce meaningful results. Spaced repetition mobile learning games in which users are reminded to play at time intervals are based on previous user interaction with the system. Hence, time as an external factor as well as user input has to be provided by the unit test. This means that a unit test framework has to not only provide input to the unit under test but also manipulate time as a context factor. This paper introduces such a test framework especially designed for mobile applications.