Ejemplo n.º 1
0
        public void GetAppealLetter()
        {
            Mock <IAppealLetterRepository> mockAppealLetterLogic = new Mock <IAppealLetterRepository>();
            AppealLetter result = new AppealLetter();

            mockAppealLetterLogic.Setup(f => f.GetAppealLetter(It.IsAny <AppealLetter>())).Returns(result);
            AppealLetterLogic target = new AppealLetterLogic(mockAppealLetterLogic.Object);

            AppealLetter actual = target.GetAppealLetter(new AppealLetter());

            Assert.AreEqual(result, actual);
        }
 public AppealLetter GetAppealLetter(AppealLetter appealLetter)
 {
     return(_appealLetterLogic.GetAppealLetter(appealLetter));
 }