### Question:
SugarApp extends Application { @Override public void onCreate() { super.onCreate(); SugarContext.init(this); }  @Override void onCreate(); @Override void onTerminate();  }### Answer:
@Test public void testOnCreate() { SugarApp app = new SugarApp(); app.onCreate(); SugarContext context = SugarContext.getSugarContext(); Assert.assertNotNull(context); }