-
Notifications
You must be signed in to change notification settings - Fork 6
test fixtures
Hippoom edited this page Jul 3, 2017
·
2 revisions
A fixture with builder pattern to populate me.chanjar.weixin.mp.bean.result.WxMpUser
import me.chanjar.weixin.mp.bean.result.WxMpUser;
import static com.github.hippoom.wechat.mp.test.fixture.WxMpUserFixture.aWxMpUser;
//Declare OpenId openId = ...
WxMpUser wxMpUser = aWxMpUser().with(openId).build();
A fixture with builder pattern to populate me.chanjar.weixin.mp.bean.result.WxMpOAuth2AccessToken
import me.chanjar.weixin.mp.bean.result.WxMpOAuth2AccessToken;
import static com.github.hippoom.wechat.mp.test.fixture.WxMpOAuth2AccessTokenFixture.aWxMpOAuth2AccessToken;
//Declare OpenId openId = ...
WxMpOAuth2AccessToken accessToken = aWxMpOAuth2AccessToken().with(openId).build();
- Quick start
- weixin-java-mp support
- Autowiring WxMpConfigStorage
- API support
- Inbound messaging
- Identity & Access
- JS SDK support
- Testing
- Release notes