### Question:
FcrepoComponent extends UriEndpointComponent { @Override protected Endpoint createEndpoint(String uri, String remaining, Map<String, Object> parameters) throws Exception { log.debug("createEndpoint uri: "+ uri); log.debug("createEndpoint remaining: "+ remaining); log.debug("createEndpoint parameters: "+ parameters.toString()); Endpoint endpoint = new FcrepoEndpoint(uri, this); setProperties(endpoint, parameters); return endpoint; } FcrepoComponent();  FcrepoComponent(final CamelContext context); FcrepoConfiguration getFcrepoConfiguration(); void setFcrepoConfiguration(FcrepoConfiguration fcrepoConfiguration);  }### Answer:
@Test public void testCreateEndpoint() throws Exception { final FcrepoComponent testComponent = new FcrepoComponent(mockContext); final Endpoint testEndpoint = testComponent.createEndpoint(TEST_ENDPOINT_URI, "", EMPTY_MAP); assertEquals(mockContext, testEndpoint.getCamelContext()); assertEquals(TEST_ENDPOINT_URI, testEndpoint.getEndpointUri()); }