@Test public void testUnmapHostAndPort() { assertThat(mapper.unmap(HostAndPort.fromString(SOME_HOST_4576), HostAndPort.class)).isEqualTo( new ValueNode(SOME_HOST_4576)); }
@Override public TreeNode unmap(Object object, Type type) { return new ValueNode(object.toString()); }
HostAndPortMapper implements ConfigurationMapper { @Override public TreeNode unmap(Object object, Type type) { return new ValueNode(object.toString()); } }
HostAndPortMapper implements ConfigurationMapper { @Override public TreeNode unmap(Object object, Type type) { return new ValueNode(object.toString()); }  }
HostAndPortMapper implements ConfigurationMapper { @Override public TreeNode unmap(Object object, Type type) { return new ValueNode(object.toString()); }  @Override boolean canHandle(Type type); @Override Object map(TreeNode treeNode, Type type); @Override TreeNode unmap(Object object, Type type); }
HostAndPortMapper implements ConfigurationMapper { @Override public TreeNode unmap(Object object, Type type) { return new ValueNode(object.toString()); }  @Override boolean canHandle(Type type); @Override Object map(TreeNode treeNode, Type type); @Override TreeNode unmap(Object object, Type type);  }