### Question:
UpgradeServerDefaultsStep extends AbstractUpgradeStep { private Set<String> calculateDeletedServerDefaults(Map<String, String> existingDefaults) throws IOException { Properties validProperties = new Properties(); validProperties.load(getClass().getResourceAsStream(VALID_SERVER_CONFIG_PROPERTIES)); Map<String, String> validServerProperties = new HashMap(validProperties); return calculateDeletedServerDefaults(existingDefaults, validServerProperties); } @Inject  UpgradeServerDefaultsStep(final PrivilegedAction<SSOToken> adminTokenAction,
            @DataLayer(ConnectionType.DATA_LAYER) final ConnectionFactory connectionFactory); @Override boolean isApplicable(); @Override void initialize(); @Override void perform(); @Override String getShortReport(String delimiter); @Override String getDetailedReport(String delimiter);  }### Answer:
@Test public void testDeletedDefaults() throws Exception { Set<String> deletedDefaults = upgradeStep.calculateDeletedServerDefaults(getExistingDefaults(), loadProperties("/validserverconfig.properties")); assertThat(deletedDefaults).isNotNull().hasSize(1).contains("x"); }