@Test public void suselLifecycleTest() { MyAnotherService anotherService = Susel.get(MyAnotherService.class); assertNotNull(anotherService, "At least one service provider should be loaded for MyAnotherService"); assertEquals("Hello world", anotherService.hello()); }
public static <S> S get(Class<S> service) { Objects.requireNonNull(SUSEL, ACTIVATE_ERROR); return SUSEL.get(service); }
Susel { public static <S> S get(Class<S> service) { Objects.requireNonNull(SUSEL, ACTIVATE_ERROR); return SUSEL.get(service); } }
Susel { public static <S> S get(Class<S> service) { Objects.requireNonNull(SUSEL, ACTIVATE_ERROR); return SUSEL.get(service); }  }
Susel { public static <S> S get(Class<S> service) { Objects.requireNonNull(SUSEL, ACTIVATE_ERROR); return SUSEL.get(service); }  static void activate(Map<String, Object> contextMap); static S get(Class<S> service); static List<S> getAll(Class<S> service); }
Susel { public static <S> S get(Class<S> service) { Objects.requireNonNull(SUSEL, ACTIVATE_ERROR); return SUSEL.get(service); }  static void activate(Map<String, Object> contextMap); static S get(Class<S> service); static List<S> getAll(Class<S> service);  }