@Test public void convertTo() throws Exception { assertEquals("UDP", new DatadogTransportConverter().convertTo(DatadogTransport.UDP)); }
@Override public String convertTo(DatadogTransport value) { if (value == null) { throw new ParameterException("Couldn't convert \"null\" to string."); } return value.name(); }
DatadogTransportConverter implements Converter<DatadogTransport> { @Override public String convertTo(DatadogTransport value) { if (value == null) { throw new ParameterException("Couldn't convert \"null\" to string."); } return value.name(); } }
DatadogTransportConverter implements Converter<DatadogTransport> { @Override public String convertTo(DatadogTransport value) { if (value == null) { throw new ParameterException("Couldn't convert \"null\" to string."); } return value.name(); }  }
DatadogTransportConverter implements Converter<DatadogTransport> { @Override public String convertTo(DatadogTransport value) { if (value == null) { throw new ParameterException("Couldn't convert \"null\" to string."); } return value.name(); }  @Override DatadogTransport convertFrom(String value); @Override String convertTo(DatadogTransport value); }
DatadogTransportConverter implements Converter<DatadogTransport> { @Override public String convertTo(DatadogTransport value) { if (value == null) { throw new ParameterException("Couldn't convert \"null\" to string."); } return value.name(); }  @Override DatadogTransport convertFrom(String value); @Override String convertTo(DatadogTransport value);  }