@Override
    public SensitiveWordDO getSensitiveWord(Long id) {
        return sensitiveWordMapper.selectById(id);
    }
@Test
    public void testGetSensitiveWord() {
        // mock 数据
        SensitiveWordDO sensitiveWord = randomPojo(SensitiveWordDO.class);
        sensitiveWordMapper.insert(sensitiveWord);
        // 准备参数
        Long id = sensitiveWord.getId();

        // 调用
        SensitiveWordDO dbSensitiveWord = sensitiveWordService.getSensitiveWord(id);
        // 断言
        assertPojoEquals(sensitiveWord, dbSensitiveWord);
    }