ZeromqEndpoint extends DefaultEndpoint { @Override public boolean isSingleton() { return true; } ZeromqEndpoint(String endpointUri, String remaining, ZeromqComponent component); @Override ZeromqConsumer createConsumer(Processor processor); @Override ZeromqProducer createProducer(); @Override boolean isSingleton(); long getHighWaterMark(); String getHostname(); long getLinger(); @SuppressWarnings("rawtypes") Class getMessageConvertor(); int getPort(); String getProtocol(); ZeromqSocketType getSocketType(); String getTopics(); String getMode(); boolean isAsyncConsumer(); boolean isMessageIdEnabled(); void setAsyncConsumer(boolean asyncConsumer); void setContextFactory(ContextFactory contextFactory); void setHighWaterMark(long highWaterMark); void setLinger(long linger); void setMessageConvertor(Class<?> messageConvertor); void setMessageIdEnabled(boolean messageIdEnabled); void setSocketFactory(SocketFactory socketFactory); void setSocketType(ZeromqSocketType socketType); void setTopics(String topics); void setMode(String mode);  }
@Test public void assertSingleton() throws URISyntaxException { assertTrue(endpoint.isSingleton()); }