### Question:
ApplicationCore { public boolean isAttached() { return attached; } protected  ApplicationCore(); static ApplicationCore getInstance(); void startup(String filename); void attach(); void detach(); String getWriteSession(); ArrayList<String> getSessionList(); boolean isAttached(); static void registerWidgets(); IRuntimeAggregator<?> getRuntimeAggregator(); ISystemConfiguration getSystemConfiguration(); ArrayList<String> getViewConfigurations(); ViewConfiguration getViewConfiguration(String name); String getLatestViewConfigurationName(); void saveViewConfiguration(ViewConfiguration config, String name);  }### Answer:
@Test public void testIsAttached() { boolean expResult = true; instance.attach(); boolean result = instance.isAttached(); assertEquals(expResult, result); }