| 
				
				
				
				 | 
			
			 | 
			@@ -1,5 +1,12 @@ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			package me.chanjar.weixin.mp.api.impl; | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			import com.google.common.collect.Lists; | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			import com.google.inject.Inject; | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			import me.chanjar.weixin.common.error.WxErrorException; | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			import me.chanjar.weixin.mp.api.WxMpService; | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			import me.chanjar.weixin.mp.api.test.ApiTestModule; | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			import me.chanjar.weixin.mp.bean.marketing.WxMpUserAction; | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			import org.testng.annotations.Guice; | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			import org.testng.annotations.Test; | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			import static org.testng.Assert.*; | 
		
		
	
	
		
			
				| 
				
				
				
					
				
				 | 
			
			 | 
			@@ -10,7 +17,11 @@ import static org.testng.Assert.*; | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			 * @author <a href="https://github.com/binarywang">Binary Wang</a> | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			 * @date 2019-07-14 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			 */ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			@Test | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			@Guice(modules = ApiTestModule.class) | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			public class WxMpMarketingServiceImplTest { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  @Inject | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  protected WxMpService wxService; | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  @Test | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  public void testAddUserActionSets() { | 
		
		
	
	
		
			
				| 
				
				
				
					
				
				 | 
			
			 | 
			@@ -21,7 +32,8 @@ public class WxMpMarketingServiceImplTest { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  @Test | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  public void testAddUserAction() { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  public void testAddUserAction() throws WxErrorException { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    this.wxService.getMarketingService().addUserAction(Lists.newArrayList(new WxMpUserAction())); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  @Test | 
		
		
	
	
		
			
				| 
				
					
				
				
				
				 | 
			
			 | 
			
  |