public void TrainingVideoManagerActivateInvalidVideo() { //Arrange TrainingVideo video = new TrainingVideo() { TrainingVideoID = "C", RunTimeMinutes = 1, RunTimeSeconds = 1, Description = "A", Active = true }; bool test; ITrainingVideoManager trainingVideoManager = new TrainingVideoManager(_trainingVideoAccessor); //Act test = trainingVideoManager.ActivateTrainingVideo(video); }
public void TrainingVideoManageractivateDeactiveVideo() { //Arrange TrainingVideo video = new TrainingVideo() { TrainingVideoID = "B", RunTimeMinutes = 1, RunTimeSeconds = 1, Description = "A", Active = false }; bool test; ITrainingVideoManager trainingVideoManager = new TrainingVideoManager(_trainingVideoAccessor); //Act test = trainingVideoManager.ActivateTrainingVideo(video); //Assert Assert.AreEqual(test, true); }