}
public void testTestContext() {
// can only test the test context
ContextService contextService = Aura.getContextService();
ContextAdapter p = AuraImpl.getContextAdapter();
assertFalse(p.isEstablished());
contextService.startContext(Mode.DEV, Format.JSON, Authentication.AUTHENTICATED);
assertTrue(p.isEstablished());
assertNotNull(p.getCurrentContext());
contextService.endContext();
assertFalse(p.isEstablished());
}