@Test public void testChooseFeatureService() { FlipContext.setFeatureService(featureService); assertEquals(featureService, FlipContext.chooseFeatureService()); }
public static FeatureService chooseFeatureService(FeatureService... services) { if (services != null) { for(FeatureService service : services) { if (service != null) { return service; } } } return featureService; }
FlipContext { public static FeatureService chooseFeatureService(FeatureService... services) { if (services != null) { for(FeatureService service : services) { if (service != null) { return service; } } } return featureService; } }
FlipContext { public static FeatureService chooseFeatureService(FeatureService... services) { if (services != null) { for(FeatureService service : services) { if (service != null) { return service; } } } return featureService; }  }
FlipContext { public static FeatureService chooseFeatureService(FeatureService... services) { if (services != null) { for(FeatureService service : services) { if (service != null) { return service; } } } return featureService; }  static FeatureService getFeatureService(); static synchronized void setFeatureService(FeatureService value); static FeatureService chooseFeatureService(FeatureService... services); }
FlipContext { public static FeatureService chooseFeatureService(FeatureService... services) { if (services != null) { for(FeatureService service : services) { if (service != null) { return service; } } } return featureService; }  static FeatureService getFeatureService(); static synchronized void setFeatureService(FeatureService value); static FeatureService chooseFeatureService(FeatureService... services);  }