// Path: wechat-mp-autoconfigure/src/main/java/com/github/hippoom/wechat/oauth/OpenId.java
// @Value
// public class OpenId {
// 
//     private String value;
// 
//     private OpenId(String value) {
//         this.value = value;
//     }
// 
//     public static OpenId valueOf(String value) {
//         return new OpenId(value);
//     }
// }


import com.github.hippoom.wechat.oauth.OpenId;
import java.util.UUID;
import me.chanjar.weixin.mp.bean.result.WxMpOAuth2AccessToken;
package com.github.hippoom.wechat.mp.test.fixture;


/**
 * Test fixture for {@link WxMpOAuth2AccessTokenFixture}.
 *
 * <pre class="code">
 *
 * import static com.github.hippoom.wechat.mp.test.fixture
 * .WxMpOAuth2AccessTokenFixture.aWxMpOAuth2AccessToken;
 *
 * //Declare OpenId openId = ...
 *
 * WxMpOAuth2AccessToken accessToken = aWxMpOAuth2AccessToken().with(openId).build();
 *
 * </pre>
 *
 * @see WxMpOAuth2AccessTokenFixture
 * @since 0.3.0
 */
public class WxMpOAuth2AccessTokenFixture {

    private WxMpOAuth2AccessToken target = new WxMpOAuth2AccessToken();

    private WxMpOAuth2AccessTokenFixture() {
// Path: wechat-mp-autoconfigure/src/main/java/com/github/hippoom/wechat/oauth/OpenId.java
// @Value
// public class OpenId {
// 
//     private String value;
// 
//     private OpenId(String value) {
//         this.value = value;
//     }
// 
//     public static OpenId valueOf(String value) {
//         return new OpenId(value);
//     }
// }


// Path: wechat-mp-test/src/main/java/com/github/hippoom/wechat/mp/test/fixture/WxMpOAuth2AccessTokenFixture.java
import com.github.hippoom.wechat.oauth.OpenId;
import java.util.UUID;
import me.chanjar.weixin.mp.bean.result.WxMpOAuth2AccessToken;

package com.github.hippoom.wechat.mp.test.fixture;


/**
 * Test fixture for {@link WxMpOAuth2AccessTokenFixture}.
 *
 * <pre class="code">
 *
 * import static com.github.hippoom.wechat.mp.test.fixture
 * .WxMpOAuth2AccessTokenFixture.aWxMpOAuth2AccessToken;
 *
 * //Declare OpenId openId = ...
 *
 * WxMpOAuth2AccessToken accessToken = aWxMpOAuth2AccessToken().with(openId).build();
 *
 * </pre>
 *
 * @see WxMpOAuth2AccessTokenFixture
 * @since 0.3.0
 */
public class WxMpOAuth2AccessTokenFixture {

    private WxMpOAuth2AccessToken target = new WxMpOAuth2AccessToken();

    private WxMpOAuth2AccessTokenFixture() {
        target.setOpenId(OpenId.valueOf(UUID.randomUUID().toString()).getValue());