@Test public void testGetLatestContract() { router.getLatestContract(); verify(contractService).getLatestContractInformation(); }
@GetMapping("contract") public DeploymentResult getLatestContract() { return contractService.getLatestContractInformation(); }
Router { @GetMapping("contract") public DeploymentResult getLatestContract() { return contractService.getLatestContractInformation(); } }
Router { @GetMapping("contract") public DeploymentResult getLatestContract() { return contractService.getLatestContractInformation(); }  }
Router { @GetMapping("contract") public DeploymentResult getLatestContract() { return contractService.getLatestContractInformation(); }  @PostConstruct void initialize(); @GetMapping("contract") DeploymentResult getLatestContract(); @GetMapping("builds") List<BuildSummary> getLatestBuilds(); @GetMapping("build/{uuid}") BuildDetails getBuild(@PathVariable("uuid") final String buildUuid); @PostMapping("build/{uuid}/deploy") DeploymentResult deploy(@PathVariable("uuid") final String buildUuid); @PostMapping(value = "contract/{tx}/{function}") ExecutionResult execute(
      @PathVariable("tx") final String contractTransactionHash,
      @PathVariable("function") final String functionName,
      @RequestBody final ContractInput contractInput); @GetMapping(value = "contract/{tx}/{function}") QueryResult query(
      @PathVariable("tx") final String contractTransactionHash,
      @PathVariable("function") final String functionName,
      @RequestParam(value = "arguments", required = false) final String[] arguments
  ); }
Router { @GetMapping("contract") public DeploymentResult getLatestContract() { return contractService.getLatestContractInformation(); }  @PostConstruct void initialize(); @GetMapping("contract") DeploymentResult getLatestContract(); @GetMapping("builds") List<BuildSummary> getLatestBuilds(); @GetMapping("build/{uuid}") BuildDetails getBuild(@PathVariable("uuid") final String buildUuid); @PostMapping("build/{uuid}/deploy") DeploymentResult deploy(@PathVariable("uuid") final String buildUuid); @PostMapping(value = "contract/{tx}/{function}") ExecutionResult execute(
      @PathVariable("tx") final String contractTransactionHash,
      @PathVariable("function") final String functionName,
      @RequestBody final ContractInput contractInput); @GetMapping(value = "contract/{tx}/{function}") QueryResult query(
      @PathVariable("tx") final String contractTransactionHash,
      @PathVariable("function") final String functionName,
      @RequestParam(value = "arguments", required = false) final String[] arguments
  );  }