@Test public void testResolveNameShouldReturnResolvedNameWithPostfix() { given(restUrlMappingMessageNameResolver.resolve(entity, parameters)).willReturn("name"); String result = underTest.resolveName(parameters); String expected = "name" + POSTFIX; assertEquals(expected, result); }
@Override public String resolveName(final ParameterList parameters) { String name = restUrlMappingMessageNameResolver.resolve(entity, parameters); return name.isEmpty() ? "" : name + POSTFIX; }
RestRequest implements Message { @Override public String resolveName(final ParameterList parameters) { String name = restUrlMappingMessageNameResolver.resolve(entity, parameters); return name.isEmpty() ? "" : name + POSTFIX; } }
RestRequest implements Message { @Override public String resolveName(final ParameterList parameters) { String name = restUrlMappingMessageNameResolver.resolve(entity, parameters); return name.isEmpty() ? "" : name + POSTFIX; } RestRequest(final WilmaHttpEntity entity, final Converter converter); }
RestRequest implements Message { @Override public String resolveName(final ParameterList parameters) { String name = restUrlMappingMessageNameResolver.resolve(entity, parameters); return name.isEmpty() ? "" : name + POSTFIX; } RestRequest(final WilmaHttpEntity entity, final Converter converter); @Override String resolveName(final ParameterList parameters); @Override String convert(final String name); }
RestRequest implements Message { @Override public String resolveName(final ParameterList parameters) { String name = restUrlMappingMessageNameResolver.resolve(entity, parameters); return name.isEmpty() ? "" : name + POSTFIX; } RestRequest(final WilmaHttpEntity entity, final Converter converter); @Override String resolveName(final ParameterList parameters); @Override String convert(final String name);  }