public void CalculateEmploeeBonus_Should_Return_Zero_When_BonusPoolAmount_Is_Zero() { // Arrange decimal bonusPercentage = 0.5M; int bonusPoolAmount = 0; decimal expectedResult = 0; var dataAccessMock = new Mock <IDataAccess>(); var service = new CalculationService(dataAccessMock.Object); // Act var result = service.CalculateEmployeeBonus(bonusPercentage, bonusPoolAmount); // Assert Assert.AreEqual(expectedResult, result); Assert.IsInstanceOfType(result, typeof(int)); }