File tree Expand file tree Collapse file tree
weixin-java-channel/src/test/java/me/chanjar/weixin/channel/constant Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ package me .chanjar .weixin .channel .constant ;
2+
3+ import static org .testng .Assert .assertEquals ;
4+
5+ import org .testng .annotations .Test ;
6+
7+ public class WxChannelApiUrlConstantsTest {
8+
9+ @ Test
10+ public void testFundBankAndQrCodeUrlPrefix () {
11+ assertEquals (WxChannelApiUrlConstants .Fund .GET_BANK_BY_NUM_URL ,
12+ "https://api.weixin.qq.com/shop/funds/getbankbynum" );
13+ assertEquals (WxChannelApiUrlConstants .Fund .GET_BANK_LIST_URL ,
14+ "https://api.weixin.qq.com/shop/funds/getbanklist" );
15+ assertEquals (WxChannelApiUrlConstants .Fund .GET_CITY_URL ,
16+ "https://api.weixin.qq.com/shop/funds/getcity" );
17+ assertEquals (WxChannelApiUrlConstants .Fund .GET_PROVINCE_URL ,
18+ "https://api.weixin.qq.com/shop/funds/getprovince" );
19+ assertEquals (WxChannelApiUrlConstants .Fund .GET_SUB_BANK_URL ,
20+ "https://api.weixin.qq.com/shop/funds/getsubbranch" );
21+ assertEquals (WxChannelApiUrlConstants .Fund .GET_QRCODE_URL ,
22+ "https://api.weixin.qq.com/shop/funds/qrcode/get" );
23+ assertEquals (WxChannelApiUrlConstants .Fund .CHECK_QRCODE_URL ,
24+ "https://api.weixin.qq.com/shop/funds/qrcode/check" );
25+ }
26+ }
You can’t perform that action at this time.
0 commit comments