@Test public void isDestroyedStartsFalse() { MortarScope root = scopeBuilder.build("root"); assertThat(root.isDestroyed()).isFalse(); }
public static boolean isDestroyed(Context context) { return getScope(context).isDestroyed(); }
MortarScope { public static boolean isDestroyed(Context context) { return getScope(context).isDestroyed(); } }
MortarScope { public static boolean isDestroyed(Context context) { return getScope(context).isDestroyed(); } MortarScope(String name, MortarScope parent, Map<String, Object> services); }
MortarScope { public static boolean isDestroyed(Context context) { return getScope(context).isDestroyed(); } MortarScope(String name, MortarScope parent, Map<String, Object> services); static MortarScope getScope(Context context); static MortarScope findChild(Context context, String name); static Builder buildChild(Context context); static boolean isDestroyed(Context context); static Builder buildRootScope(); final String getName(); String getPath(); boolean hasService(String serviceName); T getService(String serviceName); void register(Scoped scoped); MortarScope findChild(String childName); Builder buildChild(); Context createContext(Context parentContext); boolean isDestroyed(); void destroy(); @Override String toString(); }
MortarScope { public static boolean isDestroyed(Context context) { return getScope(context).isDestroyed(); } MortarScope(String name, MortarScope parent, Map<String, Object> services); static MortarScope getScope(Context context); static MortarScope findChild(Context context, String name); static Builder buildChild(Context context); static boolean isDestroyed(Context context); static Builder buildRootScope(); final String getName(); String getPath(); boolean hasService(String serviceName); T getService(String serviceName); void register(Scoped scoped); MortarScope findChild(String childName); Builder buildChild(); Context createContext(Context parentContext); boolean isDestroyed(); void destroy(); @Override String toString(); static final String DIVIDER; }