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