|
|
|
|
|
by vikinghckr
1256 days ago
|
|
Thanks! I really like the idea of the instrumented ExampleKeyValueStore class which can be defined like this: class ExampleKeyValueStore {
ExampleKeyValueStore(KeyValueStore wrapped);
int hit_count();
};
That means I can use the real KeyValueStore as a dependency while still testing the caching behavior. Cool! |
|