@@ -0,0 +1,1629 @@
+package org.hisp.dhis.android.core;%0A%0Aimport org.hisp.dhis.android.core.common.D2Factory;%0Aimport org.hisp.dhis.android.core.data.database.AbsStoreTestCase;%0Aimport org.hisp.dhis.android.core.data.server.RealServerMother;%0Aimport org.junit.Before;%0A%0Aimport java.io.IOException;%0A%0Apublic class UserAuthenticateCallRealIntegrationShould extends AbsStoreTestCase %7B%0A%0A    private D2 d2;%0A%0A    @Before%0A    @Override%0A    public void setUp() throws IOException %7B%0A        super.setUp();%0A%0A        d2 = D2Factory.create(RealServerMother.url, databaseAdapter());%0A    %7D%0A%0A    //@Test%0A    public void not_wipe_after_second_login_with_same_user() throws Exception %7B%0A        d2.logout().call();%0A        d2.logIn(%22android%22, %22Android123%22).call();%0A%0A        d2.syncMetaData().call();%0A%0A        d2.logout().call();%0A        d2.logIn(%22android%22, %22Android123%22).call();%0A    %7D%0A%0A    //@Test%0A    public void wipe_after_second_login_with_different_user() throws Exception %7B%0A        d2.logout().call();%0A        d2.logIn(%22android%22, %22Android123%22).call();%0A%0A        d2.syncMetaData().call();%0A%0A        d2.logout().call();%0A        d2.logIn(%22admin%22, %22district%22).call();%0A    %7D%0A%0A    //@Test%0A    public void wipe_after_second_login_with_equivalent_user_in_different_server() throws Exception %7B%0A        d2 = D2Factory.create(%22https://play.dhis2.org/2.29/api/%22, databaseAdapter());%0A%0A        d2.logout().call();%0A        d2.logIn(%22android%22, %22Android123%22).call();%0A%0A        d2.syncMetaData().call();%0A%0A        d2 = D2Factory.create(%22https://play.dhis2.org/android-current/api/%22, databaseAdapter());%0A%0A        d2.logout().call();%0A        d2.logIn(%22android%22, %22Android123%22).call();%0A    %7D%0A%7D%0A

add UserAuthenticateCallRealIntegrationShould