package com;

import androidx.test.filters.MediumTest;
import androidx.test.ext.junit.runners.AndroidJUnit4;

import com.efounder.chat.db.WeChatDBManager;
import com.efounder.mobilecomps.contacts.User;

import org.junit.Test;
import org.junit.runner.RunWith;

@MediumTest
@RunWith(AndroidJUnit4.class)
public class WeChatDBManagerTest {
    private static final String TAG = "WeChatDBManagerTest";

    @Test
    public void testinsertOrUpdateUser() {
        User user = WeChatDBManager.getInstance().getOneUserById(192205);
        System.out.println(user.getNickName()+ "" +user.getAvatar());
    }
}