### Question:
OpushConfigurationLoader { @VisibleForTesting static void checkMandatoryLocatorConfiguration(Path file, LocatorConfiguration locatorConfiguration) throws javax.naming.ConfigurationException { checkConfigurationEntry(file, "host", locatorConfiguration.getLocatorUrl() != null); }  static GlobalAppConfiguration<OpushConfiguration> loadFromFiles(Path... files);  }### Answer:
@Test public void testCheckMandatoryLocatorConfiguration() throws Exception { LocatorConfiguration locatorConfiguration = mocks.createMock(LocatorConfiguration.class); expect(locatorConfiguration.getLocatorUrl()) .andReturn("http: mocks.replay(); OpushConfigurationLoader.checkMandatoryLocatorConfiguration(file, locatorConfiguration); mocks.verify(); }