Class TestDetailViewNavigationProcessor


public class TestDetailViewNavigationProcessor extends DetailViewNavigationProcessor
The main goal of this class is supporting backward navigation in UI integration tests.

The DetailViewNavigationProcessor is used for preparing and performing navigation to the inheritor of StandardDetailView.

To perform navigation the AbstractNavigationProcessor.processNavigation(AbstractViewNavigator) method checks whether backward navigation should be used or not. To get correct backward navigation URL it uses information from client-side.

In UI integration tests there is no client-side, so backward navigation URL should be got by another way. This is why TestDetailViewNavigationProcessor replaces DetailViewNavigationProcessor and delegates building backward navigation URL to ViewNavigationDelegate.