3 ms·
I would use a mock for the wrapped instance that generates a strong random value on each call to “Get”. Then I would do some basic unit tests and maybe propert
by pharmakom 4y ago
I would use a mock for the wrapped instance that generates a strong random value on each call to “Get”.
Then I would do some basic unit tests and maybe property based testing given that the only way for the same value to appear on subsequent “Get” calls is for caching to have occurred.