package com.lunhan.xxx.host;

import com.baomidou.mybatisplus.core.toolkit.StringUtils;
import com.lunhan.xxx.repository.po.TestInfoPO;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

@RunWith(SpringJUnit4ClassRunner.class)
public class StringUtilTest {
    @Test
    public void camelToUnderlineTest() {
        String tableName = StringUtils.camelToUnderline(TestInfoPO.class.getSimpleName().replace("PO", ""));
        System.out.println(tableName);
    }
}