I have a tree view, I have some actions which are added to the
ToolbarManager as follows,
IToolBarManager mgr = getViewSite().getActionBars().getToolBarManager();
mgr.add(exitAction);
When I am testing this method using JUnit, getViewSite() is coming as a
null and getting NullPointerException,