public void ReviewsRatingInvalid()
        {
            //Initialize null game id
            int id = -1;

            //Call the controller method
            var result = controller.ReviewsRating(id);

            //Bad request for comparison
            HttpNotFoundResult badRequest = new HttpNotFoundResult();

            //Check if not found result occurs
            Assert.IsInstanceOf(badRequest.GetType(), result);
        }
        public void MemberIndex()
        {
            //Get member from db
            Member member = db.Members.FirstOrDefault();

            //Set controller context
            controller.ControllerContext = MockHelpers.GetControllerContext(db, member, "Member");

            //Call the controller method
            var result = controller.Index();
            HttpNotFoundResult badRequest = new HttpNotFoundResult();

            //Check if not found result occurs
            Assert.IsInstanceOf(badRequest.GetType(), result);
        }