### Question:
ApplicationContext { public static ApplicationContext getInstance() { return ApplicationEngineSingleton.SINGLETON; } private  ApplicationContext(); synchronized WriteSession createSession(); @Override synchronized String toString(); static ApplicationContext getInstance();  }### Answer:
@Test public void testGetInstance() throws Exception { assertThat(createContext(),notNullValue()); }