### Question:
PublishedAddressPolicy { public String getPublishableConnectString(TransportConnector connector) throws Exception { return getPublishableConnectURI(connector).toString(); }  URI getPublishableConnectURI(TransportConnector connector); String getPublishableConnectString(TransportConnector connector); String getClusterClientUriQuery(); void setClusterClientUriQuery(String clusterClientUriQuery); PublishedHostStrategy getPublishedHostStrategy(); void setPublishedHostStrategy(PublishedHostStrategy strategy); void setPublishedHostStrategy(String strategy); void setPortMapping(Map<Integer, Integer> portMapping); Map<Integer, Integer> getPortMapping(); void setHostMapping(Map<String, String> hostMapping); Map<String, String> getHostMapping();  }### Answer:
@Test public void testDefaultReturnsHost() throws Exception { assertTrue("contains bob", underTest.getPublishableConnectString(dummyTransportConnector).contains("bob")); }