public async Task ValidateInput_BadRequest_InvalidType_ReturnsFalse()
        {
            //Arrange

            BenefitCalculator calculator = new BenefitCalculator();
            List <BeneficiaryRequestModel> testRequest = new List <BeneficiaryRequestModel>
            {
                new BeneficiaryRequestModel
                {
                    Name = "Name1",
                    Type = BenefitsData.Employee
                },
                new BeneficiaryRequestModel
                {
                    Name = "name2",
                    Type = "badType"
                }
            };

            //Act
            bool result = await calculator.ValidateRequest(testRequest);

            //Assert
            Assert.IsFalse(result, "Expected validation to fail as input contained an invalid type.");
        }
        public async Task ValidateInput_ValidRequest_ReturnsTrue()
        {
            //Arrange
            BenefitCalculator calculator = new BenefitCalculator();
            List <BeneficiaryRequestModel> testRequest = new List <BeneficiaryRequestModel>
            {
                new BeneficiaryRequestModel
                {
                    Name = "name1",
                    Type = BenefitsData.Employee
                },
                new BeneficiaryRequestModel
                {
                    Name = "name2",
                    Type = BenefitsData.Dependent
                }
            };

            //Act
            bool result = await calculator.ValidateRequest(testRequest);

            //Assert
            Assert.IsTrue(result, "Expected validation to pass as inputs were valid");
        }