the NPE seems to occur in `fun AppCache.invalidate...
# test
n
the NPE seems to occur in
fun AppCache.invalidate(Int)
, meaning that the property
AppCache.cache
is
null
. Which is normal, since you mocked the class causing the property never to be initialized.