package com.njcn.gather.steady.datavie.pojo.param;

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

import java.lang.reflect.Field;

/**
 * 稳态趋势查询参数契约测试。
 */
class SteadyTrendQueryParamTest {

    @Test
    void shouldNotExposePhaseFilterInTrendQueryParam() {
        for (Field field : SteadyTrendQueryParam.class.getDeclaredFields()) {
            Assertions.assertNotEquals("phases", field.getName(), "趋势检索请求不再携带相别条件");
        }
    }

}
