ForwardingDOMRpcImplementation extends ForwardingObject implements DOMRpcImplementation { @Override public ListenableFuture<? extends DOMRpcResult> invokeRpc(final DOMRpcIdentifier type, final NormalizedNode<?, ?> input) { return delegate().invokeRpc(type, input); }  @Override ListenableFuture<? extends DOMRpcResult> invokeRpc(final DOMRpcIdentifier type,
            final NormalizedNode<?, ?> input);  }
@Test public void basicTest() throws Exception { initMocks(this); final DOMRpcIdentifier domRpcIdentifier = mock(DOMRpcIdentifier.class); doReturn(null).when(domRpcImplementation).invokeRpc(domRpcIdentifier, null); this.invokeRpc(domRpcIdentifier, null); verify(domRpcImplementation).invokeRpc(domRpcIdentifier, null); }