}
@Test(groups = { "small", "back-end" })
public void testThread() throws InterruptedException
{
PropertyEventThread thread = new PropertyEventThread("test");
PropertyTestEvent testEvent = new PropertyTestEvent("counter");
// Test doesn't make sense with hacked PropertyEventThread
//assertFalse(thread.send(testEvent));
thread.start();
assertTrue(thread.send(testEvent));
assertTrue(thread.send(testEvent));
thread.interrupt();
thread.join(0);
// Also doesn't make sense with hack
//assertFalse(thread.send(testEvent));
assertEquals(testEvent.getCount(), 2);
}