@@ -0,0 +1,1371 @@
+package br.com.tgoc.tgocmessage;%0A%0Aimport android.location.Location;%0Aimport android.support.test.InstrumentationRegistry;%0Aimport android.support.test.runner.AndroidJUnit4;%0A%0Aimport com.google.android.gms.maps.model.LatLng;%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 TGOCLocationMediaItemTest %7B%0A%0A    double lat = -1.0, lng = -48.0;%0A    LatLng latLng = null;%0A%0A    @Before%0A    public void setup() %7B%0A        latLng = new LatLng(lat, lng);%0A    %7D%0A%0A    @Test%0A    public void test_locationFromLocation() %7B%0A        Location location = new Location(%22provider%22);%0A        location.setLatitude(lat);%0A        location.setLongitude(lng);%0A        TGOCLocationMediaItem media = new TGOCLocationMediaItem(location);%0A%0A        assertEquals(media.getData(), latLng);%0A    %7D%0A%0A    @Test%0A    public void test_locationFromLatLng() %7B%0A        TGOCLocationMediaItem media = new TGOCLocationMediaItem(latLng);%0A%0A        assertEquals(media.getData(), latLng);%0A    %7D%0A%0A    @Test%0A    public void test_view() %7B%0A        TGOCLocationMediaItem media = new TGOCLocationMediaItem(latLng);%0A%0A        assertNotEquals(media.getView(InstrumentationRegistry.getContext()), null);%0A    %7D%0A%0A%7D%0A

add tests to TGOCLocationMediaItem