public void GetAll_AssertReturnType() { var service = new ReviewRepo(_moqContext.Object); var restById = service.GetAll(); Assert.IsInstanceOfType(restById, typeof(IEnumerable <Review>)); }