use of io.confluent.ksql.rest.server.LagReportingAgent.Builder in project ksql by confluentinc.
the class LagReportingAgentTest method setUp.
@Before
public void setUp() {
when(serviceContext.getKsqlClient()).thenReturn(ksqlClient);
Builder builder = LagReportingAgent.builder();
lagReportingAgent = builder.clock(clock).build(ksqlEngine, serviceContext);
lagReportingAgent.setLocalAddress(LOCALHOST_URL);
}