Package org.strecks.util.impl

Examples of org.strecks.util.impl.ClassWithVoidMethod


  }

  @Test
  public void testInvokeMethod1() throws Exception
  {
    ClassWithVoidMethod instance = new ClassWithVoidMethod();
    ReflectHelper.invokeMethod(instance, "method");
    Assert.assertEquals(instance.getInvokeCount(), 1);
  }
View Full Code Here


  }

  @Test
  public void testInvokeMethodNull() throws Exception
  {
    ClassWithVoidMethod instance = new ClassWithVoidMethod();
    ReflectHelper.invokeMethod(instance, "method", Void.TYPE);
    Assert.assertEquals(instance.getInvokeCount(), 1);
  }
View Full Code Here

TOP

Related Classes of org.strecks.util.impl.ClassWithVoidMethod

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.