public void listenerTest() throws Exception {
final boolean[] notifiedEvent = new boolean[] { false, false, false, false, false, false, false,
false };
IFileObserverListener listener = new IFileObserverListener() {
@Override
public void onStop(FileAlterationObserver observer) {
notifiedEvent[0] = true;
}