public void testGetConnectionInfo() throws Exception {
LocalNode localNode = (LocalNode) mock(LocalNode.class);
localNode.getJMXConnectorInfo();
JMXConnector connector = new JMXConnector((MBeanServer) null, null, "name", null);
String host = "host";
connector.setHost(host);
int port = 1;
connector.setPort(port);
modify().returnValue(connector);
startVerification();
BasicNodeService nodeService = new BasicNodeService(localNode);