public void AddClaimFieldValuesTest() { //Arrange var mockImportPaymentRepository = new Mock <IClaimFieldValueRepository>(); const long result = 1; mockImportPaymentRepository.Setup(f => f.AddClaimFieldValues(It.IsAny <ClaimFieldValue>())).Returns(result); ClaimFieldValueLogic target = new ClaimFieldValueLogic(mockImportPaymentRepository.Object); //Act long actual = target.AddClaimFieldValues(null); //Assert Assert.AreEqual(result, actual); }
/// <summary> /// Adds the claim field values. /// </summary> /// <param name="claimFieldValues">The claim field values.</param> /// <returns></returns> public long AddClaimFieldValues(ClaimFieldValue claimFieldValues) { return(_claimFieldValuesLogic.AddClaimFieldValues(claimFieldValues)); }