Files
Umbraco-CMS/tests/Umbraco.Tests.UnitTests/Umbraco.Core/Cache/FastDictionaryAppCacheTests.cs
Kenn Jacobsen 2f7cb83462 IAppCache implementations should not cache null values (#14218)
* IAppCache implementations should not cache null values

* Add comment
2023-05-10 14:23:02 +02:00

21 lines
477 B
C#

using NUnit.Framework;
using Umbraco.Cms.Core.Cache;
namespace Umbraco.Cms.Tests.UnitTests.Umbraco.Core.Cache;
[TestFixture]
public class FastDictionaryAppCacheTests : AppCacheTests
{
public override void Setup()
{
base.Setup();
_appCache = new FastDictionaryAppCache();
}
private FastDictionaryAppCache _appCache;
internal override IAppCache AppCache => _appCache;
protected override int GetTotalItemCount => _appCache.Count;
}