### Question:
FcrepoEndpoint extends DefaultEndpoint { @Override public boolean isSingleton() { return true; } FcrepoEndpoint(String uri, FcrepoComponent component); @Override Consumer createConsumer(Processor processor); @Override Producer createProducer(); @Override boolean isSingleton(); String getFormat(); void setFormat(String format); String getQuery(); void setQuery(String query); String getPid(); void setPid(String pid); String getResultFormat(); void setResultFormat(String resultFormat); FcrepoConfiguration getFcrepoConfiguration();  }### Answer:
@Test public void testSingleton() { final FcrepoEndpoint testEndpoint = new FcrepoEndpoint(TEST_ENDPOINT_URI, mockContext); assertEquals(true, testEndpoint.isSingleton()); }