@BeforeClass
public static void beforeClass() throws Exception {
AbstractEJB3TestCase.beforeClass();
// Add the Force Passivation Cache
CacheFactoryRegistry cacheFactoryRegistry = Ejb3RegistrarLocator.locateRegistrar().lookup("EJB3CacheFactoryRegistry", CacheFactoryRegistry.class);
cacheFactoryRegistry.getFactories().put(TestCacheFactory.NAME, TestCacheFactory.class);
// Deploy the test SLSB
deploySessionEjb(PassivatingStatefulBean.class);
}