private Should_evict_old_object_from_cache ( ) : void | ||
리턴 | void |
public void Should_evict_old_object_from_cache()
{
_rep.Get<TestAggregate>(_aggregate.Id);
var aggregate = _memoryCache.Get(_aggregate.Id);
Assert.NotEqual(_aggregate, aggregate);
}