Review { public float getRating(){ return rating; } Review(); User getUser(); void setUser(User user); Integer getUserId(); void setUserId(Integer userId); String getReview(); void setReview(String review); float getRating(); void setRating(float rating); Date getDateAdded(); void setDateAdded(Date dateAdded); Integer getReviewId(); void setReviewId(Integer reviewId); String getPlace(); void setPlace(String place);  }
@Test public void testGetRating() { assertEquals("1.0", Float.toString(review.getRating())); }