@Test
public void shouldProxyMethodWithOneNullVarArgsArg() throws Throwable
{

    ProxyHelper.Interceptor interceptor = mock(ProxyHelper.Interceptor.class);
    Stub                    stub        = ProxyHelper.createProxyOf(Stub.class, interceptor);
    Method                  method      = Stub.class.getMethod("testMethod", int.class, String[].class);
    when(interceptor.intercept(any(Method.class), nullable(Object[].class))).thenReturn(19);
    assertThat(stub.testMethod(1, (String) null), is(19));
    verify(interceptor).intercept(eq(method), eq(new Object[]{1, new String[]{null}}));
}