Example #1
0
        public void UpdateAthleteStopStatus()
        {
            // Arrange
            _iAthleteBAL = new AthleteBAL(_iAthleteDAL.Object, _iFitnessTestBAL.Object, _iMapper.Object, _ilogger.Object);

            // Act
            var mockId = 1;
            var result = _iAthleteBAL.UpdateAthleteStopStatus(mockId, "0-0");

            // Assert
            Assert.True(result);
        }
 public AthleteController(IAthleteBAL iAthleteBAL, IFitnessTestBAL iFitnessTestBAL, ILogger <AthleteController> ilogger)
 {
     _iAthleteBAL     = iAthleteBAL;
     _iFitnessTestBAL = iFitnessTestBAL;
     _ilogger         = ilogger;
 }