Community
Participate
Working Groups
assertEquals(1, counter.getRemoves());
}
public void _testBugzilla_306710_addRemove() throws Exception
public void testBugzilla_306710_addRemove() throws Exception
{
final NotifyCounter counter = new NotifyCounter();
session2.close();
// check if the notifications arrived (which is not the case because of the exception).
assertEquals(1, counter.getAdds());
assertEquals(0, counter.getAdds());
assertEquals(0, counter.getRemoves());
/**