MethodInvocation { @SneakyThrows(ReflectiveOperationException.class) public void invoke(final Object target) { method.invoke(target, arguments); }  @SneakyThrows(ReflectiveOperationException.class) void invoke(final Object target);  }
@Test public void assertInvoke() throws NoSuchMethodException { MethodInvocationFixture methodInvocationFixture = new MethodInvocationFixture(); MethodInvocation methodInvocation = new MethodInvocation(MethodInvocationFixture.class.getMethod("setId", Integer.class), new Object[]{1}); methodInvocation.invoke(methodInvocationFixture); assertThat(methodInvocationFixture.getId(), is(1)); }