package com.lanyuanxiaoyao.digtal.market

import com.lanyuanxiaoyao.digtal.market.sender.WxPusherSender
import org.junit.jupiter.api.Test

class TestPush {
    @Test
    fun testWxPusher() {
        WxPusherSender()
            .send("近期发生的数据要素新闻", mapOf(
                "articles" to listOf(
                    Article(
                        "helloworld",
                        "helloworld",
                        "https://www.baidu.com",
                        "Hello world",
                        null,
                        null,
                        null,
                        null,
                        null,
                        "近期发生的数据要素新闻",
                        null,
                        null,
                        null,
                    )
                )
            ))
    }
}