### Question:
LogFileEndPointTemplate implements EndPointTemplate { @Override public ConsumptionEndPoint getConsumptionEndPoint(final String endPointName) { throw new NotImplementedException("Consuming a log file endpoint is not supported in this version."); } LogFileEndPointTemplate(@JsonProperty(value = "folder", required = true) final String folder,
                                 @JsonProperty(value = "filename", required = true) final String filename,
                                 @JsonProperty(value = "immediateFlush") final Boolean immediateFlush); @Override ProductionEndPoint getProductionEndPoint(final String endPointName); @Override ConsumptionEndPoint getConsumptionEndPoint(final String endPointName); static final String TYPE; }### Answer:
@Test(expected = NotImplementedException.class) public void testLogFileConsumptionEndpoint() throws Exception { config.getConsumptionEndPoint("my_endpoint_1"); }