We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 720cfb2 commit b36bebeCopy full SHA for b36bebe
test/cache_test.exs
@@ -69,6 +69,12 @@ defmodule RabbitMQ.CacheTest do
69
assert RabbitMQ.Cache.member?(cache, "foo") == false
70
end
71
72
+ test "cache information", %{cache: cache, cache_ttl: _} do
73
+ RabbitMQ.Cache.put(cache, "foo")
74
+
75
+ assert RabbitMQ.Cache.info(cache) == [size: 1, entries: 1]
76
+ end
77
78
test "drop the cache", %{cache: cache, cache_ttl: _} do
79
:ok = RabbitMQ.Cache.drop(cache)
80
0 commit comments