### Question:
IntakeV2ReportingEventHandler extends AbstractIntakeApiHandler implements ReportingEventHandler { int getBufferSize() { return payloadSerializer.getBufferSize(); } IntakeV2ReportingEventHandler(ReporterConfiguration reporterConfiguration, ProcessorEventHandler processorEventHandler,
                                         PayloadSerializer payloadSerializer, MetaData metaData, ApmServerClient apmServerClient); @Override void init(ApmServerReporter reporter); @Override void onEvent(ReportingEvent event, long sequence, boolean endOfBatch); @Override void endRequest(); @Override void close(); static final String INTAKE_V2_URL; }### Answer:
@Test void testNoopWhenNotConnected() { reportTransaction(nonConnectedReportingEventHandler); assertThat(nonConnectedReportingEventHandler.getBufferSize()).isEqualTo(0); }