Foundation { public static ServerProvider server() { try { return getManager().provider(ServerProvider.class); } catch (Exception ex) { logger.error("Initialize ServerProvider failed.", ex); return NullProviderManager.provider; } }  static String getProperty(String name, String defaultValue); static NetworkProvider net(); static ServerProvider server(); static ApplicationProvider app();  }
@Test public void testServer() { assertTrue(Foundation.server() instanceof DefaultServerProvider); }