settings.setAddressFullMessagePolicy(AddressFullMessagePolicy.PAGE);
addressSettings.setDefault(settings);
PagingStoreFactoryNIO storeFactory = new PagingStoreFactoryNIO(getPageDir(),
new OrderedExecutorFactory(Executors.newCachedThreadPool()),
true);
storeFactory.setPostOffice(new FakePostOffice());
PagingManagerImpl managerImpl = new PagingManagerImpl(storeFactory,