@@ -0,0 +1,1893 @@
+package br.com.tgoc.tgocmessage;%0A%0Aimport android.support.test.InstrumentationRegistry;%0Aimport android.support.test.runner.AndroidJUnit4;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertNotEquals;%0A%0A/**%0A * Created by Rodrigo.Cavalcante on 30/11/16.%0A */%0A@RunWith(AndroidJUnit4.class)%0Apublic class TGOCMessageTest %7B%0A%0A    TGOCMessage message = null;%0A%0A    @Before%0A    public void setup() %7B%7D%0A%0A    @Test%0A    public void test_date() %7B%0A        message = new TGOCMessage();%0A%0A        assertNotEquals(message.getDate(), null);%0A    %7D%0A%0A    @Test%0A    public void test_senderID() %7B%0A        message = new TGOCMessage(%22id%22, null);%0A%0A        assertEquals(message.senderId, %22id%22);%0A    %7D%0A%0A    @Test%0A    public void test_nullSenderID() %7B%0A        message = new TGOCMessage(null, null);%0A%0A        assertEquals(message.senderId, null);%0A    %7D%0A%0A    @Test%0A    public void test_text() %7B%0A        message = new TGOCMessage(null, %22text%22);%0A%0A        assertEquals(message.text, %22text%22);%0A    %7D%0A%0A    @Test%0A    public void test_nullText() %7B%0A        message = new TGOCMessage(null, null);%0A%0A        assertEquals(message.text, null);%0A    %7D%0A%0A    @Test%0A    public void test_senderDisplayName() %7B%0A        message = new TGOCMessage(null, null, %22display name%22);%0A%0A        assertEquals(message.senderDisplayName, %22display name%22);%0A    %7D%0A%0A    @Test%0A    public void test_nullSenderDisplayName() %7B%0A        message = new TGOCMessage(null, null, null);%0A%0A        assertEquals(message.senderDisplayName, null);%0A    %7D%0A%0A    @Test%0A    public void test_falseIsMediaType() %7B%0A        message = new TGOCMessage();%0A%0A        assertEquals(message.isMediaMessage, false);%0A    %7D%0A%0A    @Test%0A    public void test_isMediaType() %7B%0A        message = new TGOCMessage(null, null, null, null);%0A%0A        assertEquals(message.isMediaMessage, true);%0A    %7D%0A%7D%0A

add tests to TGOCMessage