KafkaBrokerLoggingConfigurationDiff extends AbstractResourceDiff { public Collection<AlterConfigOp> getLoggingDiff() { return diff; } KafkaBrokerLoggingConfigurationDiff(Config brokerConfigs, String desired, int brokerId); Collection<AlterConfigOp> getLoggingDiff(); int getDiffSize(); @Override boolean isEmpty();  }
@Test public void testDiffUsingLoggerInheritance() { String desiredConfig = getRealisticDesiredConfig(); Config currentConfig = getRealisticConfig(); KafkaBrokerLoggingConfigurationDiff diff = new KafkaBrokerLoggingConfigurationDiff(currentConfig, desiredConfig, brokerId); assertThat(diff.getLoggingDiff(), is(getRealisticConfigDiff())); }