DoubleConverter implements ResultConverter<Double> { @Override public Map<String, Double> convert(final String valueName, final Double value) { return Collections.singletonMap(valueName, value); }  @Override Map<String, Double> convert(final String valueName, final Double value); @Override Class<?> getConvertedClass();  }
@Test public void convert() { Map<String, Double> expected = new HashMap<String, Double>(); expected.put("Foo", 5.5); Map<String, Double> actual = _converter.convert("Foo", 5.5); assertEquals(expected, actual); }