public async Task AdvancedTimer_should_execute_infinite_times()
        {
            var debounceTime = 30;
            var count        = 0;

            var rendered = _testContext.RenderComponent <AdvancedTimer>(parameters => parameters
                                                                        .Add(p => p.DelayInMilisec, debounceTime)
                                                                        .Add(p => p.Occurring, Times.Infinite())
                                                                        .Add(p => p.OnIntervalElapsed, c => { count = (int)c; }));

            await Task.Delay(debounceTime *(200));              //wait for debounce

            rendered.MarkupMatches("");
            Assert.IsTrue(count > 3);
            Assert.AreEqual(true, rendered.Instance.IsEnabled);
        }