stateful.setState("state");
assertEquals("state", stateful.getState());
stateful.testSerializedState("state");
assertEquals(null, stateful.getInterceptorState());
stateful.setInterceptorState("hello world");
assertFalse(stateful.testSessionContext());
Thread.sleep(10 * 1000);
assertTrue(stateful.wasPassivated());
assertEquals("state", stateful.getState());
assertEquals("hello world", stateful.getInterceptorState());