@Test
public void addObserver() throws Throwable {

  MockAbstractThreadedPlugin plugin = new MockAbstractThreadedPlugin("addObserverTest");
  // add observer
  plugin.addObserver(getOneObserver());
  Assert.assertEquals(1, plugin.countObservers());
  // test if thread is activated
  Assert.assertTrue(plugin.isMonitoring());
  // shutdown thread
  plugin.finalize();
}