@Test
public void testExcludeEvent() throws Exception {
ConfigurationHandler configurationHandler = m_agentContext.getHandler(ConfigurationHandler.class);
configureAgent(configurationHandler, AgentConstants.CONFIG_LOGGING_EXCLUDE_EVENTS, "1001,1002");
FrameworkEvent event = new FrameworkEvent(32, new Object());
FeedbackHandler feedbackHandler = m_agentContext.getHandler(FeedbackHandler.class);
TestFeedbackChannel channel = (TestFeedbackChannel) feedbackHandler.getChannel("auditlog");
// make sure the configuration is written to the channel
assertEquals(channel.getLastTtype(), 2000);