public void HandleRequest_ShouldReturnPremiumIfNoClaims()
        {
            var policy = new InsurancePolicy();

            var returnedPremium = _handler.HandleRequest(policy, 100);

            Assert.AreEqual(100, returnedPremium);
        }
        public void HandleRequest_ShouldCallSuccessor()
        {
            // Setup dependencies
            var policy = new InsurancePolicy();

            var testHandler = new TestHandler()
                              .WithReturnValue(456);

            var handler = new InsurancePremiumCalculationClaimsHandler();

            handler.SetSuccessor(testHandler);

            // Call HandleRequest
            var returnedPremium = handler.HandleRequest(policy, 100);

            // Verify result
            Assert.AreEqual(456, returnedPremium);
        }