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