@Test public void testPrepareClient() { final ContractInvocationHandler invocationHandler = new ContractInvocationHandler( contractAddress, mock( TxRequester.class)); final AergoClient aergoClient = new AergoClientBuilder().build(); invocationHandler.prepareClient(aergoClient); }
@Override public void prepareClient(final AergoClient aergoClient) { assertNotNull(aergoClient, "AergoClient must not null"); logger.trace("Prepare client: {}", aergoClient); this.clientCabinet.set(aergoClient); }
ContractInvocationHandler implements InvocationHandler, ClientPrepareable, SignerPreparable { @Override public void prepareClient(final AergoClient aergoClient) { assertNotNull(aergoClient, "AergoClient must not null"); logger.trace("Prepare client: {}", aergoClient); this.clientCabinet.set(aergoClient); } }
ContractInvocationHandler implements InvocationHandler, ClientPrepareable, SignerPreparable { @Override public void prepareClient(final AergoClient aergoClient) { assertNotNull(aergoClient, "AergoClient must not null"); logger.trace("Prepare client: {}", aergoClient); this.clientCabinet.set(aergoClient); }  }
ContractInvocationHandler implements InvocationHandler, ClientPrepareable, SignerPreparable { @Override public void prepareClient(final AergoClient aergoClient) { assertNotNull(aergoClient, "AergoClient must not null"); logger.trace("Prepare client: {}", aergoClient); this.clientCabinet.set(aergoClient); }  @Override void prepareClient(final AergoClient aergoClient); @Override void prepareSigner(final Signer signer); @Override Object invoke(final Object proxy, final Method method, final Object[] args); }
ContractInvocationHandler implements InvocationHandler, ClientPrepareable, SignerPreparable { @Override public void prepareClient(final AergoClient aergoClient) { assertNotNull(aergoClient, "AergoClient must not null"); logger.trace("Prepare client: {}", aergoClient); this.clientCabinet.set(aergoClient); }  @Override void prepareClient(final AergoClient aergoClient); @Override void prepareSigner(final Signer signer); @Override Object invoke(final Object proxy, final Method method, final Object[] args);  }