package com.ruoyi.web.modules.farming.support;

import static org.junit.jupiter.api.Assertions.assertEquals;

import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;

@DisplayName("TechResourceLoginNameGenerator")
class TechResourceLoginNameGeneratorTest
{

    @Test
    @DisplayName("拼音首字母+id")
    void generate()
    {
        assertEquals("zzj12", TechResourceLoginNameGenerator.generate("张专家", 12L));
    }
}
