@Test public void testSystemProperties() throws Exception { Configuration configuration = EasyMock.createNiceMock(Configuration.class); expect(configuration.getServerTempDir()).andReturn("/ambari/server/temp/dir").anyTimes(); replay(configuration); AmbariServer.setSystemProperties(configuration); Assert.assertEquals(System.getProperty("java.io.tmpdir"), "/ambari/server/temp/dir"); }
static void setSystemProperties(Configuration configs) { System.setProperty("java.io.tmpdir", configs.getServerTempDir()); }
AmbariServer { static void setSystemProperties(Configuration configs) { System.setProperty("java.io.tmpdir", configs.getServerTempDir()); } }
AmbariServer { static void setSystemProperties(Configuration configs) { System.setProperty("java.io.tmpdir", configs.getServerTempDir()); }  }
AmbariServer { static void setSystemProperties(Configuration configs) { System.setProperty("java.io.tmpdir", configs.getServerTempDir()); }  String getServerOsType(); static AmbariManagementController getController(); @SuppressWarnings("deprecation") void run(); void stop(); @Deprecated void performStaticInjection(); void initViewRegistry(); static void setupProxyAuth(); static void enableLog4jMonitor(Map<String, String> configsMap); static void main(String[] args); }
AmbariServer { static void setSystemProperties(Configuration configs) { System.setProperty("java.io.tmpdir", configs.getServerTempDir()); }  String getServerOsType(); static AmbariManagementController getController(); @SuppressWarnings("deprecation") void run(); void stop(); @Deprecated void performStaticInjection(); void initViewRegistry(); static void setupProxyAuth(); static void enableLog4jMonitor(Map<String, String> configsMap); static void main(String[] args); static final String VIEWS_URL_PATTERN; static final EnumSet<DispatcherType> DISPATCHER_TYPES; volatile boolean running; }