use of io.github.zutherb.appstash.shop.ui.navigation.NavigationGroup in project the-app by devops-dojo.
the class AbstractWicketTest method createNavigationMock.
private Navigation createNavigationMock() {
Navigation navigation = mock(Navigation.class);
NavigationGroup mainGroup = mock(NavigationGroup.class);
when(mainGroup.getNavigationEntries()).thenReturn(Collections.<NavigationEntry>emptyList());
when(navigation.getMainNavigationGroup()).thenReturn(mainGroup);
return navigation;
}
Aggregations