@Test public void testResolveNameShouldReturnWhatSoapMessageNameResolverReturns() { given(soapMessageNameResolver.resolve(entity, parameters)).willReturn("name"); String result = underTest.resolveName(parameters); assertEquals("name", result); }
@Override public String resolveName(final ParameterList parameters) { return soapMessageNameResolver.resolve(entity, parameters); }
SoapMessage implements Message { @Override public String resolveName(final ParameterList parameters) { return soapMessageNameResolver.resolve(entity, parameters); } }
SoapMessage implements Message { @Override public String resolveName(final ParameterList parameters) { return soapMessageNameResolver.resolve(entity, parameters); } SoapMessage(final WilmaHttpEntity entity, final Converter converter); }
SoapMessage implements Message { @Override public String resolveName(final ParameterList parameters) { return soapMessageNameResolver.resolve(entity, parameters); } SoapMessage(final WilmaHttpEntity entity, final Converter converter); @Override String resolveName(final ParameterList parameters); @Override String convert(final String name); }
SoapMessage implements Message { @Override public String resolveName(final ParameterList parameters) { return soapMessageNameResolver.resolve(entity, parameters); } SoapMessage(final WilmaHttpEntity entity, final Converter converter); @Override String resolveName(final ParameterList parameters); @Override String convert(final String name);  }