BithumbEndpointGenerator implements ParamsDigest { @Override public String digestParams(RestInvocation restInvocation) { return restInvocation.getPath(); }  @Override String digestParams(RestInvocation restInvocation);  }
@Test public void digestParams() { final RestInvocation restInvocation = mock(RestInvocation.class); when(restInvocation.getPath()).thenReturn("/info/balance"); final String param = bithumbEndpointGenerator.digestParams(restInvocation); assertThat(param).isEqualTo("/info/balance"); }