KafkaBrokerLoggingConfigurationDiff extends AbstractResourceDiff { public int getDiffSize() { return diff.size(); } KafkaBrokerLoggingConfigurationDiff(Config brokerConfigs, String desired, int brokerId); Collection<AlterConfigOp> getLoggingDiff(); int getDiffSize(); @Override boolean isEmpty();  }
@Test public void testReplaceRootLogger() { KafkaBrokerLoggingConfigurationDiff klcd = new KafkaBrokerLoggingConfigurationDiff(getCurrentConfiguration(emptyList()), getDesiredConfiguration(emptyList()), brokerId); assertThat(klcd.getDiffSize(), is(0)); }