@Test
public void testGet_$invoke_Arguments() {

    Object[] args = new Object[]{"hello", "dubbo", 520};
    Class<?> demoServiceClass = DemoService.class;
    String serviceName = demoServiceClass.getName();
    Invoker invoker = mock(Invoker.class);
    RpcInvocation inv = new RpcInvocation("$invoke", serviceName, "",
            new Class<?>[]{String.class, String[].class, Object[].class},
            new Object[]{"method", new String[]{}, args},
            null, invoker, null);
    Object[] arguments = RpcUtils.getArguments(inv);
    for (int i = 0; i < args.length; i++) {
        Assertions.assertNotNull(arguments[i]);
        Assertions.assertEquals(args[i].getClass().getName(), arguments[i].getClass().getName());
        Assertions.assertEquals(args[i], arguments[i]);
    }
}