package com.ruoyi.ccdi.project.domain.vo;

import org.junit.jupiter.api.Test;

import java.lang.reflect.Field;

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

class CcdiBankStatementHitTagsContractTest {

    @Test
    void listVo_shouldExposeHitTagsField() throws Exception {
        Field field = CcdiBankStatementListVO.class.getDeclaredField("hitTags");

        assertNotNull(field, "流水列表VO应返回命中异常标签");
    }

    @Test
    void detailVo_shouldExposeHitTagsField() throws Exception {
        Field field = CcdiBankStatementDetailVO.class.getDeclaredField("hitTags");

        assertNotNull(field, "流水详情VO应返回命中异常标签");
    }

    @Test
    void excelVo_shouldExposeHitTagsField() throws Exception {
        Field field = com.ruoyi.ccdi.project.domain.excel.CcdiBankStatementExcel.class.getDeclaredField("hitTags");

        assertNotNull(field, "流水导出对象应返回异常标签文本列");
    }
}
