(t *testing.T)
| 68 | } |
| 69 | |
| 70 | func TestRuntimeCache_GetString(t *testing.T) { |
| 71 | testRuntimeCache(t, TESTCacheValue, func(cache *RuntimeCache, key string) (interface{}, error) { |
| 72 | return cache.GetString(key) |
| 73 | }) |
| 74 | } |
| 75 | |
| 76 | func testRuntimeCache(t *testing.T, insertValue interface{}, f func(cache *RuntimeCache, key string) (interface{}, error)) { |
| 77 | cache := NewRuntimeCache() |
nothing calls this directly
no test coverage detected