@Test
public void invokeMethodWithParams() {

    class MethodWithTwoParams {
        String foo(final String fizz, final int buzz) {
            return fizz + buzz;
        }
    }
    assertThat(invokeMethod(new MethodWithTwoParams(), "foo", "abc", 123),
               CoreMatchers.is("abc123"));
}