@Test
public void testMockInvokerFromOverride_Invoke_check_int() {

    URL url = URL.valueOf("remote://1.2.3.4/" + IHelloService.class.getName())
            .addParameter(REFER_KEY, URL.encode(PATH_KEY + "=" + IHelloService.class.getName()))
            .addParameter("getInt1.mock", "force:return 1688")
            .addParameter("invoke_return_error", "true");
    Invoker<IHelloService> cluster = getClusterInvoker(url);
    //Configured with mock
    RpcInvocation invocation = new RpcInvocation();
    invocation.setMethodName("getInt1");
    Result ret = cluster.invoke(invocation);
    Assertions.assertTrue(ret.getValue() instanceof Integer, "result type must be integer but was : " + ret.getValue().getClass());
    Assertions.assertEquals(new Integer(1688), (Integer) ret.getValue());
}