Skip to content

Commit 6d47f8d

Browse files
authored
test (#103)
1 parent 166da19 commit 6d47f8d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

BitFaster.Caching.UnitTests/Lru/NoTelemetryPolicyTests.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,11 @@ public void IncrementTotalCountIsNoOp()
2828
{
2929
counter.Invoking(c => c.IncrementMiss()).Should().NotThrow();
3030
}
31+
32+
[Fact]
33+
public void OnItemRemovedIsNoOp()
34+
{
35+
counter.Invoking(c => c.OnItemRemoved(1, 2, ItemRemovedReason.Evicted)).Should().NotThrow();
36+
}
3137
}
3238
}

0 commit comments

Comments
 (0)