@@ -0,0 +1,2621 @@
+package io.github.vcuswimlab.stackintheflow.model;%0A%0Aimport jersey.repackaged.com.google.common.collect.ImmutableList;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0Aimport static org.junit.Assert.*;%0A%0A/**%0A * Created by chase on 4/25/17.%0A */%0Apublic class JerseyResponseTest %7B%0A%0A    private JerseyResponse jerseyResponse;%0A    private List%3CQuestion%3E items = ImmutableList.of(new Question(ImmutableList.of(%22Tag1%22, %22Tag2%22),%0A                    %22myBody%22,%0A                    %22myExcerpt%22,%0A                    %22myTitle%22,%0A                    %22myLink%22),%0A            new Question(ImmutableList.of(%22Tag3%22, %22Tag4%22),%0A                    %22myOtherBody%22,%0A                    %22myOtherExcerpt%22,%0A                    %22myOtherTitle%22,%0A                    %22myOtherLink%22));%0A%0A    @Before%0A    public void setUp() throws Exception %7B%0A        jerseyResponse = new JerseyResponse(items, true, 100, 10);%0A    %7D%0A%0A    @Test%0A    public void testGetItems() throws Exception %7B%0A        assertEquals(items, jerseyResponse.getItems());%0A    %7D%0A%0A    @Test%0A    public void testSetItems() throws Exception %7B%0A        jerseyResponse.setItems(new ArrayList%3C%3E());%0A        assertTrue(jerseyResponse.getItems().isEmpty());%0A    %7D%0A%0A    @Test%0A    public void testIsHas_more() throws Exception %7B%0A        assertTrue(jerseyResponse.isHas_more());%0A    %7D%0A%0A    @Test%0A    public void testSetHas_more() throws Exception %7B%0A        jerseyResponse.setHas_more(false);%0A        assertFalse(jerseyResponse.isHas_more());%0A    %7D%0A%0A    @Test%0A    public void testGetQuota_max() throws Exception %7B%0A        assertEquals(100, jerseyResponse.getQuota_max());%0A    %7D%0A%0A    @Test%0A    public void testSetQuota_max() throws Exception %7B%0A        jerseyResponse.setQuota_max(50);%0A        assertEquals(50, jerseyResponse.getQuota_max());%0A    %7D%0A%0A    @Test%0A    public void testGetQuota_remaining() throws Exception %7B%0A        assertEquals(10, jerseyResponse.getQuota_remaining());%0A    %7D%0A%0A    @Test%0A    public void testSetQuota_remaining() throws Exception %7B%0A        jerseyResponse.setQuota_remaining(5);%0A        assertEquals(5, jerseyResponse.getQuota_remaining());%0A    %7D%0A%0A    @Test%0A    public void testToString() throws Exception %7B%0A        assertEquals(%22JerseyResponse%7Bitems=%5BQuestion%7Btags=%5BTag1, Tag2%5D, body='myBody', %22 +%0A                %22excerpt='myExcerpt', title='myTitle', link=myLink%7D, %22 +%0A                %22Question%7Btags=%5BTag3, Tag4%5D, body='myOtherBody', excerpt='myOtherExcerpt', %22 +%0A                %22title='myOtherTitle', link=myOtherLink%7D%5D, has_more=true, quota_max=100, %22 +%0A                %22quota_remaining=10%7D%22, jerseyResponse.toString());%0A    %7D%0A%0A%7D

Add Jersey Response Test