Neo4jEndpoint extends DefaultEndpoint { @Override public boolean isSingleton() { return true; } Neo4jEndpoint(String endpointUri, String remaining, Neo4jComponent component); @Override Consumer createConsumer(Processor processor); @Override Producer createProducer(); @Override boolean isSingleton(); static final String HEADER_OPERATION; static final String HEADER_NODE_ID; static final String HEADER_RELATIONSHIP_ID; }
@Test public void assertSingleton() throws URISyntaxException { Neo4jEndpoint endpoint = new Neo4jEndpoint("spring-neo4j:http: assertTrue(endpoint.isSingleton()); }