@Test public void createScope_shouldMarkThisScopeAsOpen() { ScopeImpl scope = (ScopeImpl) Toothpick.openScope("foo"); assertThat(scope.isOpen, is(true)); }
public static Scope openScope(Object name) { return openScope(name, true); }
Toothpick { public static Scope openScope(Object name) { return openScope(name, true); } }
Toothpick { public static Scope openScope(Object name) { return openScope(name, true); } protected  Toothpick(); }
Toothpick { public static Scope openScope(Object name) { return openScope(name, true); } protected  Toothpick(); static Scope openRootScope(); static Scope openRootScope(ScopeConfig scopeConfig); static boolean isRootScopeOpen(); static boolean isScopeOpen(Object name); static Scope openScopes(Object... names); static Scope openScope(Object name); static Scope openScope(Object name, ScopeConfig scopeConfig); static void closeScope(Object name); static void reset(); static void reset(Scope scope); static void release(Scope scope); static void inject(Object obj, Scope scope); static void setConfiguration(Configuration configuration); }
Toothpick { public static Scope openScope(Object name) { return openScope(name, true); } protected  Toothpick(); static Scope openRootScope(); static Scope openRootScope(ScopeConfig scopeConfig); static boolean isRootScopeOpen(); static boolean isScopeOpen(Object name); static Scope openScopes(Object... names); static Scope openScope(Object name); static Scope openScope(Object name, ScopeConfig scopeConfig); static void closeScope(Object name); static void reset(); static void reset(Scope scope); static void release(Scope scope); static void inject(Object obj, Scope scope); static void setConfiguration(Configuration configuration);  }