@@ -0,0 +1,2094 @@
+package org.hisp.dhis.android.core.resource;%0A%0Aimport android.content.ContentValues;%0Aimport android.database.MatrixCursor;%0Aimport android.support.test.runner.AndroidJUnit4;%0A%0Aimport org.hisp.dhis.android.core.common.BaseIdentifiableObject;%0Aimport org.hisp.dhis.android.core.resource.ResourceModel.Columns;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0A%0Aimport java.util.Date;%0A%0Aimport static com.google.common.truth.Truth.assertThat;%0A%0A@RunWith(AndroidJUnit4.class)%0Apublic class ResourceModelShould %7B%0A    private static final Long ID = 2L;%0A    private static final String RESOURCE_TYPE = %22OrganisationUnit%22;%0A%0A    // timestamp%0A    private static final String DATE = %222017-01-18T13:39:00.000%22;%0A%0A    @Test%0A    public void create_model_when_created_from_database_cursor() throws Exception %7B%0A        MatrixCursor matrixCursor = new MatrixCursor(new String%5B%5D%7B%0A                Columns.ID, Columns.RESOURCE_TYPE, Columns.LAST_SYNCED%0A        %7D);%0A%0A        matrixCursor.addRow(new Object%5B%5D%7B%0A                ID, RESOURCE_TYPE, DATE%0A        %7D);%0A%0A        matrixCursor.moveToFirst();%0A%0A        Date timeStamp = BaseIdentifiableObject.DATE_FORMAT.parse(DATE);%0A%0A        ResourceModel resource = ResourceModel.create(matrixCursor);%0A        assertThat(resource.id()).isEqualTo(ID);%0A        assertThat(resource.resourceType()).isEqualTo(RESOURCE_TYPE);%0A        assertThat(resource.lastSynced()).isEqualTo(timeStamp);%0A    %7D%0A%0A    @Test%0A    public void create_content_values_when_created_from_builder() throws Exception %7B%0A        Date timeStamp = BaseIdentifiableObject.DATE_FORMAT.parse(DATE);%0A        ResourceModel resource = ResourceModel.builder()%0A                .id(ID)%0A                .resourceType(RESOURCE_TYPE)%0A                .lastSynced(timeStamp)%0A                .build();%0A%0A        ContentValues contentValues = resource.toContentValues();%0A%0A        assertThat(contentValues.getAsLong(Columns.ID)).isEqualTo(ID);%0A        assertThat(contentValues.getAsString(Columns.RESOURCE_TYPE)).isEqualTo(RESOURCE_TYPE);%0A        assertThat(contentValues.getAsString(Columns.LAST_SYNCED)).isEqualTo(DATE);%0A    %7D%0A%7D%0A

rename test class to more appropriate name