assertNull(myEventRegistry.getEventFilter(TEST_DOMAIN, "noKnownUser"));
}
@Test
public void testRemoveEventFilter() {
myEventRegistry.registerUser(TEST_DOMAIN, TEST_USER_ID, new EventFilterTestMode());
checkLog(2, "User \"test_user_id\" registered for domain \"test_domain\".",
"test_user_id: EventFilter changed for domain \"test_domain\".");
myEventRegistry.registerUser(TEST_DOMAIN_2, TEST_USER_ID, new EventFilterTestMode());
checkLog(4, "User \"test_user_id\" registered for domain \"test_domain_2\".",
"test_user_id: EventFilter changed for domain \"test_domain_2\".");
myEventRegistry.removeEventFilter(TEST_DOMAIN_2, TEST_USER_ID);
checkLog(5, "test_user_id: EventFilter removed from domain \"test_domain_2\".");