testWeblog = TestUtils.getManagedWebsite(testWeblog);
List refs = rmgr.getReferers(testWeblog);
assertEquals(count, refs.size());
PropertiesManager pmgr = WebloggerFactory.getWeblogger().getPropertiesManager();
RuntimeConfigProperty spamprop = pmgr.getProperty("spam.blacklist");
String origWords = spamprop.getValue();
spamprop.setValue(spamprop.getValue() + ", test");
pmgr.saveProperty(spamprop);
TestUtils.endSession(true);
rmgr.applyRefererFilters();
TestUtils.endSession(true);
testWeblog = TestUtils.getManagedWebsite(testWeblog);
refs = rmgr.getReferers(testWeblog);
assertEquals(0, refs.size());
spamprop = pmgr.getProperty("spam.blacklist");
spamprop.setValue(origWords);
pmgr.saveProperty(spamprop);
TestUtils.endSession(true);
}