public void GetUserReview_UnitOfWorkReturnsReview_UutReturnsCorrectType() { var key = new object[] { defaultReviewDto.BarName, defaultReviewDto.Username }; mockUnitOfWork.ReviewRepository.Get(key) .Returns(defaultReview); var result = uut.GetUserReview(defaultReviewDto.Username, defaultReviewDto.BarName); Assert.That(result, Is.TypeOf <OkObjectResult>()); }