public void CalculateEmployeeBonusAllocation_Should_Return_DivideByZeroException_When_Total_Salary_Is_Zero()
        {
            // Arrange
            decimal employeeSalary = 10000;
            decimal totalSalary    = 0;
            var     dataAccessMock = new Mock <IDataAccess>();
            var     service        = new CalculationService(dataAccessMock.Object);

            // Act
            var result = service.CalculateEmployeeBonusAllocation(employeeSalary, totalSalary);
        }
        public void CalculateEmployeeBonusAllocation_Should_Return_Zero_When_Employee_Salary_Is_Zero()
        {
            // Arrange
            decimal employeeSalary = 0;
            decimal totalSalary    = 100000;
            decimal expectedResult = 0;
            var     dataAccessMock = new Mock <IDataAccess>();
            var     service        = new CalculationService(dataAccessMock.Object);

            // Act
            var result = service.CalculateEmployeeBonusAllocation(employeeSalary, totalSalary);

            // Assert
            Assert.AreEqual(expectedResult, result);
            Assert.IsInstanceOfType(result, typeof(decimal));
        }