### Question:
ActivityPartService implements IActivityPartService { @Override public Result<NewCustomerPartResponse> partNewCustomerActivity(NewCustomerPartRequest request) { ContextParam contextParam = new ContextParam(FunctionCodeEnum.ACTIVITY_PARTICIPATE, request, ActivityTypeEnum.NEW_CUSTOMER_GIFT.getType()); return activityDispatcher.dispatcher(contextParam); }  @Override Result<NewCustomerPartResponse> partNewCustomerActivity(NewCustomerPartRequest request);  }### Answer:
@Test public void partNewCustomerActivity() { NewCustomerPartRequest request = new NewCustomerPartRequest(customerRegisterId, channelId); Result<NewCustomerPartResponse> result = activityPartService.partNewCustomerActivity(request); Assert.assertTrue(result.isSuccess()); Assert.assertNotNull(result.getModel()); }