@Before
public void setUp() throws Exception {
final ClientFactory clientFactory = mock( ClientFactory.class );
NavigationViewFactory navigationViewFactory = mock(NavigationViewFactory.class);
PerspectivesPanelView perspectivesPanelView = mock( PerspectivesPanelView.class );
when(
clientFactory.getNavigationViewFactory()
).thenReturn(
navigationViewFactory
);