コード例 #1
0
        public void RollbackInvalidation_HeaderNotSet_DoesNothing(string idempotencyKey)
        {
            //arrange
            SetMockRequestIdempotencyKey(idempotencyKey);

            //act
            _idempotencyContext.RollbackInvalidation();

            //assert
            _cache.Verify(x => x.Delete(It.IsAny <string>()), Times.Never);
        }