public void testSimpleHttpInvokerRequestExecutor() throws Exception {
RemoteInvocation invocation =
new RemoteInvocation("testSimpleHttpInvokerRequestExecutor", new Class[]{Long.class}, new Object[]{Long.valueOf(System.nanoTime())});
TestingSimpleHttpInvokerRequestExecutor executor = new TestingSimpleHttpInvokerRequestExecutor(invocation.getMethodName());
HttpInvokerClientConfiguration config = createMockConfiguration(executor.getColor(), ArrayUtil.EMPTY_STRINGS);
RemoteInvocationResult result = executor.executeRequest(config, invocation);
Object value = result.getValue();
assertNotNull("No result value", value);
assertTrue("Bad result value type: " + value.getClass().getSimpleName(), value instanceof RemoteInvocation);
RemoteInvocation resultValue = (RemoteInvocation) value;
assertEquals("Mismatched result method", invocation.getMethodName(), resultValue.getMethodName());