View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package org.mule.module.ibeans.annotations;
8   
9   import org.ibeans.annotation.IntegrationBean;
10  import org.junit.Test;
11  
12  public class CallVoidReturnTestCase extends AbstractIBeansTestCase
13  {
14      @SuppressWarnings("unused")
15      @IntegrationBean
16      private SearchIBean search;
17  
18      @Test
19      public void testReturnVoid() throws Exception
20      {
21          if (isOffline(getClass().getName() + ".testReturnVoid"))
22          {
23              return;
24          }
25  
26          //we just need to test that the call doesn't fail
27          search.searchGoogleAndReturnVoid("foo");
28      }
29  
30  }