public void CuriousQuizController() { //Act var actual = new CuriousQuizController(_curiousityQuizBusinessLogic.Object); //Assert Assert.IsNotNull(actual); Assert.IsInstanceOf <CuriousQuizController>(actual); }
public void CuriousQuizController_saveCuriosQuizAttempts() { //Act var actual = new CuriousQuizController(_curiousityQuizBusinessLogic.Object); var curiousQuizAttempts = new List <CuriousQuizAttempts>(); var target = actual.saveCuriosQuizAttempts(curiousQuizAttempts); //Assert Assert.IsNotNull(target); Assert.AreEqual(200, ((ObjectResult)target).StatusCode); }