### Question:
WampSessionIdMethodArgumentResolver implements HandlerMethodArgumentResolver { @Override public Object resolveArgument(MethodParameter parameter, Message<?> message) throws Exception { return message.getHeaders().get(WampMessageHeader.WAMP_SESSION_ID.name()); }  @Override boolean supportsParameter(MethodParameter parameter); @Override Object resolveArgument(MethodParameter parameter, Message<?> message);  }### Answer:
@Test public void resolveArgumentTest() throws Exception { CallMessage callMessage = new CallMessage(1, "call"); callMessage.setHeader(WampMessageHeader.WAMP_SESSION_ID, 23L); assertThat( this.resolver.resolveArgument(this.wampSessionIdParameter, callMessage)) .isEqualTo(23L); }