@Test public void noEnvironment() { when(configurationHolder.isInitialized()).thenReturn(false); job.setEnvironment(null); job.run(); verify(instrumentationService, times(1)).removeInstrumentationPoints(); verify(configurationHolder, times(1)).update(null, PLATFORM_ID); verifyNoMoreInteractions(instrumentationService, eventPublisher); }
public void setEnvironment(Environment environment) { this.environment = environment; }
EnvironmentMappingUpdateJob extends AbstractConfigurationChangeJob { public void setEnvironment(Environment environment) { this.environment = environment; } }
EnvironmentMappingUpdateJob extends AbstractConfigurationChangeJob { public void setEnvironment(Environment environment) { this.environment = environment; }  }
EnvironmentMappingUpdateJob extends AbstractConfigurationChangeJob { public void setEnvironment(Environment environment) { this.environment = environment; }  void setEnvironment(Environment environment); }
EnvironmentMappingUpdateJob extends AbstractConfigurationChangeJob { public void setEnvironment(Environment environment) { this.environment = environment; }  void setEnvironment(Environment environment);  }