@@ -0,0 +1,1184 @@
+package org.researchstack.skin;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.mockito.runners.MockitoJUnitRunner;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertTrue;%0A%0A@RunWith(MockitoJUnitRunner.class)%0Apublic class DataResponseTest%0A%7B%0A    @Before%0A    public void setUp() throws Exception%0A    %7B%0A%0A    %7D%0A%0A    @Test%0A    public void testDataResponseConstructor() throws Exception %7B%0A        DataResponse dr = new DataResponse(true, %22A test%22);%0A        String message = dr.getMessage();%0A        assertEquals(%22DataResponse message not set.%22, %22A test%22, message);%0A%0A        boolean success = dr.isSuccess();%0A        assertTrue(%22DataResponse success value incorrect.%22, success);%0A    %7D%0A%0A    @Test%0A    public void testDataResponseSetters() throws Exception %7B%0A        DataResponse dr = new DataResponse();%0A%0A        dr.setMessage(%22Another test%22);%0A        dr.setSuccess(true);%0A%0A        String message = dr.getMessage();%0A        boolean success = dr.isSuccess();%0A%0A        assertEquals(%22DataResponse message not set.%22, %22Another test%22, message);%0A        assertTrue(%22DataResponse success value not set.%22, success);%0A    %7D%0A%7D%0A

Add unit test for DataResponse to ResearchStack/skin (#252)