public void ScoringRoundScoreInteractor_ScoreRound_AllNullParams() { var sci = new ScoringRoundScoreInteractor(mockRoundScoringAlgo.Object, mockLogger.Object); var result = sci.ScoreRound(null, null); Assert.IsTrue(result.IsFaulted); Assert.IsNotNull(result.Error); Assert.IsNotNull(result.Error.ErrorMessage); }
public void ScoringRoundScoreInteractor_ScoreRound_NullTaskParam() { var timeSheets = ScoringTestHelpers.GenerateValidTimeSheets(10); var sci = new ScoringRoundScoreInteractor(mockRoundScoringAlgo.Object, mockLogger.Object); var result = sci.ScoreRound(timeSheets, null); Assert.IsTrue(result.IsFaulted); Assert.IsNotNull(result.Error); Assert.IsNotNull(result.Error.ErrorMessage); }
public void ScoringRoundScoreInteractor_ScoreRound_NullTimeCardsParam() { var taskG = new TaskG_FiveTwos(); var sci = new ScoringRoundScoreInteractor(mockRoundScoringAlgo.Object, mockLogger.Object); var result = sci.ScoreRound(null, taskG); Assert.IsTrue(result.IsFaulted); Assert.IsNotNull(result.Error); Assert.IsNotNull(result.Error.ErrorMessage); }
public void ScoringRoundScoreInteractor_Ctor_NullParam() { var sci = new ScoringRoundScoreInteractor(null, mockLogger.Object); }