@Test public void testGetVotes() { Issue issue = new Issue(null, Utils.getTestIssue()); Votes votes = issue.getVotes(); assertNotNull(votes); assertFalse(votes.hasVoted()); assertEquals(votes.getVotes(), 0); }
@Override public String toString() { return String.format( "{user_id: %s, business_id: %s, stars: %s, text: %s, date: %s, votes: %s}", user_id, getBusinessId(), stars, text, date, votes.toString()); }