getsAutoFlushMode();
getsFlushMode();
    public void testStatefulInvocationWithSessionThenClosed() throws Throwable    {        newStatefulDestroyInvocation();        checksSessionIsOpen();        getsFactoryFromSession();        getsAutoFlushMode();        setsFlushMode();        opensSession();//        setsFlushMode(); TODO huh?        beginsTransaction(1);        getsSessionsConnection();        commitsConnection();        closesSession();        handler.invoke( invocation );        super.verify();    }