@Override
    public void exit(int count, Object... args) throws ErrorEntryFreeException {
        trueExit(count, args);
    }
@Test
    public void testExitLastEntryWithDefaultContext() {
        final Context defaultContext = getFakeDefaultContext();
        ContextUtil.runOnContext(defaultContext, new Runnable() {
            @Override
            public void run() {
                CtEntry entry = new CtEntry(new StringResourceWrapper("res", EntryType.IN),
                    null, ContextUtil.getContext());
                assertSame(entry, defaultContext.getCurEntry());
                assertSame(defaultContext, ContextUtil.getContext());
                entry.exit();
                assertNull(defaultContext.getCurEntry());
                // Default context will be automatically exited.
                assertNull(ContextUtil.getContext());
            }
        });

    }