@Test public void testResolveShouldNotResolveNonRequestEnities() { String result = underTest.resolve(new WilmaHttpEntity(), parameters); assertEquals(result, ""); }
@Override public String resolve(final WilmaHttpEntity entity, final ParameterList parameters) { String resolvedName; if (entity instanceof WilmaHttpRequest) { resolvedName = resolveRequest(entity, parameters); } else { resolvedName = EMPTY; } return resolvedName; }
RestUrlMappingMessageNameResolver implements MessageNameResolver { @Override public String resolve(final WilmaHttpEntity entity, final ParameterList parameters) { String resolvedName; if (entity instanceof WilmaHttpRequest) { resolvedName = resolveRequest(entity, parameters); } else { resolvedName = EMPTY; } return resolvedName; } }
RestUrlMappingMessageNameResolver implements MessageNameResolver { @Override public String resolve(final WilmaHttpEntity entity, final ParameterList parameters) { String resolvedName; if (entity instanceof WilmaHttpRequest) { resolvedName = resolveRequest(entity, parameters); } else { resolvedName = EMPTY; } return resolvedName; }  }
RestUrlMappingMessageNameResolver implements MessageNameResolver { @Override public String resolve(final WilmaHttpEntity entity, final ParameterList parameters) { String resolvedName; if (entity instanceof WilmaHttpRequest) { resolvedName = resolveRequest(entity, parameters); } else { resolvedName = EMPTY; } return resolvedName; }  @Override String resolve(final WilmaHttpEntity entity, final ParameterList parameters); }
RestUrlMappingMessageNameResolver implements MessageNameResolver { @Override public String resolve(final WilmaHttpEntity entity, final ParameterList parameters) { String resolvedName; if (entity instanceof WilmaHttpRequest) { resolvedName = resolveRequest(entity, parameters); } else { resolvedName = EMPTY; } return resolvedName; }  @Override String resolve(final WilmaHttpEntity entity, final ParameterList parameters);  }